[reportlab-users] Kerning experiments
gherman at darwin.in-berlin.de
Thu Apr 5 07:59:36 EDT 2007
[Resent message using a URL instead of an attached file. - DG]
two days ago I met a font designer during a Python meeting
who complained about non existing kerning in RL and explaind
to me a great deal about the importance of the matter.
I know the discussion against using kerning in the Paragraph
class of Platypus, but I thought it might be worth having
kerning at least for more visible text like headlines.
So I gave it a try and fiddled with TrueType specs in order
to use the kerning table for string drawing. The result so far
is encouraging, although I need to make many more tests with
many more fonts.
One nice thing about this approach is that you can modify
the kerning manually without modifying the font, if only, be-
cause, apparently, the kerning info is not always accurate or
Nevertheless, I am pointing those who care to a sample PDF,
in which I changed the kerning in row 3 to make it more com-
patible with my visual expectations...
In theory one could also use fancy features like perpendicular
kerning etc, but that's left for a future exercise.
Dinu C. Gherman
I love my Mac. I just wish it came in green! - www.greenmyapple.com
More information about the reportlab-users