freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Incremental truetype fonts


From: Werner LEMBERG
Subject: Re: [ft-devel] Incremental truetype fonts
Date: Fri, 06 Feb 2015 10:17:28 +0100 (CET)

> For incremental fonts, the glyph index may be greater than the number
> of glyphs indicated, so I just surrounded this code block as such:
>
> #ifndef FT_CONFIG_OPTION_INCREMENTAL
>     if ( glyph_index >= (FT_UInt)face->root.num_glyphs )
>     {
>       error = FT_THROW( Invalid_Glyph_Index );
>       goto Exit;
>     }
> #endif

Applied to git, thanks!


    Werner



reply via email to

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