[Bug 891457] uneven emulated Bold/Slant for subsetted large fonts

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 14 01:11:00 UTC 2013

Product: Fedora

--- Comment #22 from Hin-Tak Leung <htl10 at users.sourceforge.net> ---
BTW, while looking at the cairo code surrounding FT_GlyphSlot_Embolden(), I
noted that the types of at least one the parameters passed to FT_* is wrong.
load_flags is 'unsigned int' on the freetype side but occasionally just int on
the cairo side. That may be harmless but might just be important when doing
signed-extended operations like "~ mask" or "<<".

freetype is much more well-tested for 32-bit (and embedded/16-bit(?)
environments), and in fact some of the internals are written to do
fixed-precision maths with integer operations, assuming floating point maths
are too expensive or not available. So it is curious the problem is more
serious on 32-bit (and isn't as noticeable on 64-bit platforms).

You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=SejnDloQFa&a=cc_unsubscribe

More information about the fonts-bugs mailing list