freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] [PATCH] Fix FT_Get_PFR_Advance()


From: Werner LEMBERG
Subject: Re: [ft-devel] [PATCH] Fix FT_Get_PFR_Advance()
Date: Wed, 16 Jul 2008 23:00:11 +0200 (CEST)

> FT_Get_PFR_Advance() seems to expect a 0-based glyph index, but the
> rest of Freetype deals with 1-based glyph indexes.  As a result,
> calling this function with the highest legal glyph index will fail.
> Calling it with other values will presumably give the wrong result.
> 
> The following patch fixes the problem.

Applied (with slightly different code), thanks.


    Werner




reply via email to

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