Re: JDK 1.4 and fonts

2002-02-25 Thread Christian Geisert

Christopher Burkey wrote:

 Hi,
 
 Has anyone been able to compile FOP with JDK 1.4? It gets this far 
 in the build process:


[..]


 C:\src-workspaces\per\xml-fop\build\src\org\apache\fop\render\pdf\CodePointM 
 apping.java
 [style] Failed to process 
 C:\src-workspaces\per\xml-fop\build\src\codegen\encodings.xml


This worked for me (under Linux) as somebody already mentioned but
there will be another error later ..
Has anybody else these problems under windows ?

[..]

 BTW: This is all using 0.20.3 Under Windows 2000, JDK 1.4 final.
 
 Thanks!

Christian


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: JDK 1.4 and fonts

2002-02-25 Thread Christian Geisert

Ramaprabhu Janakiraman wrote:

 funny, 
i compiled 0.20.3-rc  with 1.4-rc  and everything was smooth
 except for some problems with svg/PDFGraphics2D.java (a new abstract
 method in java.awt.GraphicsConfiguration ) that i had to put a stub for, 


This worked for me too but then it didn't compile anymore under 1.3 ;-(


 but it breezed thro' the encodings. 


 
 -ram

Christian


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: JDK 1.4 and fonts

2002-02-21 Thread Satoshi Ishigami


see below site:

Endorsed Standards Override Mechanism
http://java.sun.com/j2se/1.4/docs/guide/standards/index.html

JDK1.4 includes such as Xalan-J 2.2.D11 in rt.jar by default,
so current sh/bat script or build.xml may be not able to build 
FOPwhen you use with JDK1.4 .

Regards.

---
Satoshi Ishigami   VIC TOKAI CORPORATION



On Fri, 22 Feb 2002 00:09:18 -0500 , Christopher Burkey wrote:

 Hi,
 
   Has anyone been able to compile FOP with JDK 1.4? It gets this far in 
the 
 build process:
 
 in: ./build/src/codegen/extproperties.xml
 style: ./build/src/codegen/enumgen.xsl
 out: ./build/src/org/apache/fop/fo/properties/extenums_ignore_this.java
 
  [style] Transforming into 
 C:\src-workspaces\per\xml-fop\build\src\org\apache\fop\render\pdf
  [style] Loading stylesheet 
 C:\src-workspaces\per\xml-fop\.\build\src\codegen\code-point-mapping.xsl
  [style] Processing 
 C:\src-workspaces\per\xml-fop\build\src\codegen\encodings.xml to 
 C:\src-workspaces\per\xml-fop\build\src\org\apache\fop\render\pdf\CodePointM
 
 apping.java
  [style] Failed to process 
 C:\src-workspaces\per\xml-fop\build\src\codegen\encodings.xml
 
   My end goal is to improve the appearance of font spacing, within the 
AWT 
 Renderer, using JDK 1.4's improved font handling.
 
   I have compiled with 1.3 then tested the AWT renderer under 1.4. I 
think 
 there are improvements with fonts spacing over JDK 1.3 but its still not 
 perfect.
 
   I have tried to comment out this line:
 
  // space is rendered larger than given by
  // the FontMetrics object
 // if (i = 32)
 // w = (int)(1.4 * fmt.charWidth(i) * FONT_FACTOR);
//  else
  w = (int)(fmt.charWidth(i) * FONT_FACTOR);
 
 
   But that did nothing. Attached is a fo file that displays the problems
 
 with font space. In my attached file you can change the font size and it 
 looks much better. If anyone knows what it could be please let me know.
 
 
 BTW: This is all using 0.20.3 Under Windows 2000, JDK 1.4 final.
 
 Thanks!
 
 _
 Christopher Burkey[EMAIL PROTECTED] 
 President513-542-3401
 eInnovation Inc.  http://einnovation.com
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]