freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] /UnderlinePosition and /UnderlineThickness


From: Werner LEMBERG
Subject: [Devel] /UnderlinePosition and /UnderlineThickness
Date: Fri, 30 May 2003 10:38:34 +0200 (CEST)

I've just fixed the handling of UnderlinePosition and
UnderlineThickness -- according to the various Adobe specs, they can
be a `number', not only an `integer'.

For the moment, I'm rounding those values to the nearest integer since
both variables underline_position and underline_thickness (in FT_Face)
are integers.  The correct solution is to change underline_* to either
FT_Fixed or FT_Pos, but since FT_Face is in a public header I'm
hesitating to do that.

Anyway, I've changed t1tables.h to use FT_Fixed since IMHO the
PS_FontInfo structure should exactly represent the PS font.

Comments, please.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]