You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Thomas Feix <Th...@gmservice.de> on 2002/11/07 12:58:17 UTC

Workaround: TTF characterspacing

Hi,

after adding a True Type Font spaces between some character pairs
of this font were too small. Adjusting their kerning values in the font's
metric file seemed not to change anything at all. But: removing all the
kerning elements (incl. their children) of the metric file worked fine. 
Spacing now is similar to a word document.

Thomas

Re: Workaround: TTF characterspacing

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Thomas Feix wrote:
> after adding a True Type Font spaces between some character pairs
> of this font were too small. Adjusting their kerning values in the font's
> metric file seemed not to change anything at all. But: removing all the
> kerning elements (incl. their children) of the metric file worked fine. 
> Spacing now is similar to a word document.

Changing the kerning in the metrics file is a no-op, it's not used
by FOP (unfortunately), except for indicating that kerning info is
available in the font, and the PDF display program takes the kerning
from the embedded TTF file anyway.
You should be able to get the same result easier by disabling kerning
for the font in the userconfig.xml file.

J.Pietschmann