freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Implementation Error of FreeType function FT_Get_PFR_Metr


From: Werner LEMBERG
Subject: Re: [ft-devel] Implementation Error of FreeType function FT_Get_PFR_Metrics()
Date: Sun, 21 Dec 2008 18:38:12 +0100 (CET)

> 1) If we make a call to FT_Get_PFR_Metrics() function with a non-pfr
> font (FreeMono.ttf for example) and any of the parameters
> ametrics_y_scale, ametrics_resolution, ametrics_x_scale or
> aoutline_resolution being NULL, a segmentation fault will happen.
> The spec specified that any or all of these parameters can be NULL.

Fixed.

> 2) If we make a call to FT_Get_PFR_Metrics() function with a non-pfr
> font (FreeMono.ttf for example) and none of the parameters
> ametrics_y_scale, ametrics_resolution, ametrics_x_scale or
> aoutline_resolution are NULL the function returned an error code 0
> (success) instead of a non-zero error code to indicate failure.

Fixed also.  Thanks for the report!


    Werner




reply via email to

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