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!
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:svg="http://www.w3.org/2000/svg"
xmlns:fo="http://www.w3.org/1999/XSL/Format"><fo:layout-master-set><fo:simple-page-master
master-name="first" page-width="8.5in" page-height="11in" margin-top=".3in"
margin-bottom="1in" margin-left=".3in" margin-right=".3in"><fo:region-body
margin-top="0in"/><fo:region-before extent="3cm"/><fo:region-after
extent="1.5cm"/></fo:simple-page-master><fo:page-sequence-master
master-name="basicPSM"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference
page-position="first" master-reference="first"/><fo:conditional-page-master-reference
page-position="rest" master-reference="rest"/><fo:conditional-page-master-reference
master-reference="first"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master></fo:layout-master-set><fo:page-sequence
master-reference="basicPSM"><fo:flow flow-name="xsl-region-body">
<fo:block space-after="1.5cm"/>
<fo:block>
<fo:table>
<fo:table-column column-width=".9in"/>
<fo:table-column column-width="6in"/>
<fo:table-body font-size="10pt" font-family="sans-serif" >
<fo:table-row>
<fo:table-cell display-align="before"/>
<fo:table-cell display-align="before">
<fo:block>
Please provide a company e-mail address to use for Open
Alliance correspondence:
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:flow></fo:page-sequence></fo:root>
_____________________________________
Christopher Burkey [EMAIL PROTECTED]
President 513-542-3401
eInnovation Inc. http://einnovation.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]