I'm still working on the bitmaps and just ran into an interesting access
violation that happens with using the API exactly (?) as it is intended to:

```
FT_Load_Glyph( face, index, load_flags ); // no load flags (0x0), PCF driver

FT_Get_Glyph(  face->glyph, &glyph );     // lazy copy in
`ft_bitmap_glyph_init'

FT_Done_Glyph( glyph );                   // frees the bitmap in the face's
                                          // GlyphSlot (due to the lazy
copy)

FT_Get_Glyph(  face->glyph, &glyph );     // proper copy in
                                          // `ft_bitmap_glyph_init' and
                                          // `FT_Bitmap_Copy' fails with an
                                          // access violation
'''

I am not quite sure how to fix/tackle the issue and what the exact purpose
of fastpath is but in that case it seems somewhat overly fast (unless I
misunderstand the API usage) :)

Only tested with the PCF driver but the issue might be similar with other
drivers.


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to