freetype-devel
[Top][All Lists]
Advanced

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

advance vector not copied in FT_Glyph_To_Bitmap


From: Fleischer, Karsten (K.)
Subject: advance vector not copied in FT_Glyph_To_Bitmap
Date: Thu, 26 Oct 2000 08:03:33 -0400

Hi David,

sorry for my last mail. I realized myself what I had done wrong (not reading
the documentation in the header files).

However, there's another issue.

In FT_Glyph_To_Bitmap (in ftglyph.c) the original advance vector of
the_glyph is not copied to the new glyph, it is always (0,0) then. 

Adding

      bitmap->root.advance = glyph->advance;

before

      *the_glyph = FT_GLYPH( bitmap );

will do so.


Karsten




reply via email to

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