DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24148>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24148

Kerning upsets text-align="end"

           Summary: Kerning upsets text-align="end"
           Product: Fop
           Version: 0.20.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have imported several Type 1 fonts (e.g. Adobe Garamon-book) and fop reads in
and uses the font Kerning information. However the change in width introduced by
the kerning is not correctly taken into account for future items in the same
line of text.

This is most dramatically demonstrated when you have a table will the first
coulomb is a list of names (which include different kerning letter pairs)
followed by a column with text-align="end" (i.e. a spreadsheet with row headings
then coulombs of right-aligned numbers), the alignment in the second column is
noticeable wrong. 

You can demonstrate this is caused by the kerning by manually removing the
kerning information from FOPs xml font file.

Reply via email to