Menu

#27 LineHeight for TTF fonts with positive descent is incorrect

0.1.2.1
closed-fixed
None
5
2015-03-13
2011-12-08
No

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.

Discussion

  • Manuel Guilbault

    Patch file

     
  • Stefano Chizzolini

    Fixed on 0.1.2-Fix branch (rev 176) and 0.2.0 trunk (rev 177)

    thank you

     
  • Stefano Chizzolini

    • status: open --> closed-fixed
    • assigned_to: Stefano Chizzolini
    • Group: --> 0.1.2.1
     

Log in to post a comment.