freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] PCF: Issues with lazy copy in `ft_bitmap_glyph_init'


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] PCF: Issues with lazy copy in `ft_bitmap_glyph_init'
Date: Thu, 23 Aug 2018 09:57:20 -0400

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

I think the else (proper copy) condition is bogus. If bitmap is not
owned, it is not
valid and you cannot copy it, which leaves us with lazy case only.
Elsewhere, we do not even free the bitmap buffer in the FT_GlyphSlot
if it is not owned.



reply via email to

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