freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Problems with retrieving kerning adjustments out of PFR font


From: Werner LEMBERG
Subject: Re: [Devel] Problems with retrieving kerning adjustments out of PFR font
Date: Sun, 08 Aug 2004 18:33:02 +0200 (CEST)

Adam Piotrowski wrote about half a year ago:

> 1. Negative kerning adjustments are handled incorrectly.

I've now applied your fix, thanks.

> 2. service->get_kerning method for PFR returns void, but is called
>    in the context where FT_Error is expected.

This has been fixed already.

> 3. ft_pfr_check() returns invalid pointer to face driver services
>    when compiled with optimisation enabled (-O2 option). It works
>    fine when compiled with no optimisation (-O0).

As you've suspected, it seems to be a gcc compiler bug, and it has
been reported by others too.  IIRC, we were told that very recent
versions of gcc v3 work fine.

>    I observed that if at the end of macro after the line 220:
>      *pptr = svc;
>    I add the following:
>      ptr = svc;
>    correct pointer to services is returned even when compiled with
>    optimisation enabled.

If my memory serves me correctly, any C statement will do.


    Werner



reply via email to

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