LineHeight for TTF fonts with positive descent is incorrect
General-Purpose PDF Library for Java and .NET
Status: Beta
Brought to you by:
stechio
The LineHeight property for Font objects, when loaded from a TrueType font file having a positive descent in its descriptor is calculated incorrectly.
I joined a patch for the Font class, which uses absolute values of the descent and ascent from the descriptor to calculate the Ascent and Descent properties of the class.
Patch file
Fixed on 0.1.2-Fix branch (rev 176) and 0.2.0 trunk (rev 177)
thank you