freetype-devel
[Top][All Lists]
Advanced

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

[Devel] ps_parser_to_bytes must be declared in psobjs.h


From: Graham Asher
Subject: [Devel] ps_parser_to_bytes must be declared in psobjs.h
Date: Wed, 15 Oct 2003 13:10:37 +0100

Here is another patch discovered while compiling the released version of
FreeType 2.1.5 for the Symbian OS. The file psauxmod.c won't compile on its
own because the name ps_parser_to_bytes is not known.

To fix this, add the declaration

  FT_LOCAL( FT_Error )
  ps_parser_to_bytes( PS_Parser  parser,
                      FT_Byte*   bytes,
                      FT_Int     max_bytes,
                      FT_Int*    pnum_bytes );

at line 120 (or wherever) of psobjs.h.

As mentioned in my last message, when compiling FreeType on Symbian OS,
using the standard tool chain, one cannot use files like sfnt.c that
#include other source files. The files have always compiled separately in
the past, so this is a regression that needs to be fixed. Luckily, the fixes
(so far) are simple.

Best wishes,

Graham Asher





reply via email to

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