freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Re: ps_parser_to_bytes


From: Werner LEMBERG
Subject: [Devel] Re: ps_parser_to_bytes
Date: Thu, 24 Jul 2003 07:51:36 +0200 (CEST)

> Here is a patch to read hexadicimal strings in PostScript files.
> Accroding to PLRM.pdf, a hexadicimal strings is not integer and
> the maximal length of strings is 65536.
> 
>   FT_LOCAL_DEF( FT_Error )
>   ps_parser_to_bytes( PS_Parser parser,
>                       FT_Byte*  bytes,
>                       FT_Int    max_bytes,
>                       FT_Int*   pnum_bytes )
> 
> If the size of bytes is too small for a strings, the return value is
> Err_Ok and *pnum_bytes is larger than max_bytes.
> 
> And I modified skip_spaces and skip_alpha.

Applied, thanks!


    Werner



reply via email to

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