Bug 42550 - Extra spacing between characters while rendering a PDF
Summary: Extra spacing between characters while rendering a PDF
Status: CLOSED WONTFIX
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.20.5
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-30 13:10 UTC by Jay
Modified: 2012-04-01 13:53 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jay 2007-05-30 13:10:39 UTC
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.
Comment 1 Andreas L. Delmelle 2008-05-07 07:53:29 UTC
Just noticed that this was still open...

If I had to guess, based on the given (ahem, very limited) info, I'd say it may be related to the used font (a custom font?)

Anyways, as this is a bug filed against 0.20.5, I'm marking it as a WONTFIX.

In case upgrading is still not an option, try asking on fop-users@apache.org, provide detailed info, and if possible, a small sample FO to reproduce the issue.
Comment 2 Glenn Adams 2012-04-01 13:53:51 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs