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

http://issues.apache.org/bugzilla/show_bug.cgi?id=42550

           Summary: Extra spacing between characters while rendering a PDF
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


I am using FOP 0.20.5 to render PDF. My XML comes proper but once it passes
through the XSL-FO and the PDF is generated, I see extra spaces between
arbitrary characters.

<fo:block space-before="0px" space-after="0px" font-style="{$style-font}"
color="{$style-color}" >
  <xsl:value-of select = "@value"/>
</fo:block>

Now if the generated output should be:
This is a Test

It actually comes as:
T h i s is a T e s t

I can use letter-spacing on the fo:block, e.g
<fo:block space-before="0px" space-after="0px" font-style="{$style-font}"
color="{$style-color}" letter-spacing="-2px">
  <xsl:value-of select = "@value"/>
</fo:block>

This would fix the unwanted space between "This" and "Test" but then "suppress"
the spacing between other columns which would previously appear fine.

Any ideas ? The upgrade of FOP is not a solution now - if thats the one.

Thanks.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to