[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] issues found when porting to FreeType 2.3.7
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] issues found when porting to FreeType 2.3.7 |
Date: |
Thu, 02 Oct 2008 00:45:55 +0200 (CEST) |
> The word 'synthetize' doesn't exist and should be corrected to
> 'synthesize' in two places in ftoption.h.
Fixed, thanks.
> 2. The function open_face in ftobjs.c crashes if 'face' is not
> created. The fix is to test for 'face' being non-null in the
> error-handling section.
I fixed it on a per-driver basis.
> 3. The code in pstables.h needs to be enclosed by
>
> #ifdef FT_CONFIG_OPTION_ADOBE_GLYPH_LIST ... #endif
>
> so that the large tables and the functions are not compiled
> unnecessarily.
I've already done this a few weeks ago.
> 4. In sfobjs.c, all uses of psnames_error need to be enclosed in
>
> #ifdef TT_CONFIG_OPTION_POSTSCRIPT_NAMES .. #endif
Done.
> 6. The following warnings are displayed when ttpost.c is compiled:
> [...]
>
> They can be fixed by changing
>
> *PSname = MAC_NAME to
>
> *PSname = (FT_String*)MAC_NAME
Hmm, in the CVS we already have
#define MAC_NAME( x ) ( (FT_String*)psnames->macintosh_name( x ) )
This should be sufficient, right?
Thanks a lot!
Werner