freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] plan to support sfnt-wrapped CID-keyed font


From: Werner LEMBERG
Subject: Re: [ft-devel] plan to support sfnt-wrapped CID-keyed font
Date: Fri, 19 Sep 2008 10:04:08 +0200 (CEST)

> Just I've revised the part you commented and committed to CVS.

Thanks.

> Step 1. Let TrueType driver detect the sfnt-wrapped PS Type1 & CID-
>         keyed fonts. TrueType font driver should not support them,
>         but I want to detect these formats from the return value of
>         ttload.c:check_table_dir() (it checks head/bhed/SING).
> 
> Step 2. If the stream is detected to be sfnt-wrapped PS Type1 & CID-
>         keyed font, seek to `TYP1' or `CID ' table, copy the content
>         to memory and execute open_face_from_buffer().

OK.

> To implement the step 1, I want to ask a question.
> 
> "The checking of error values in ftobjs.c should be
>  restricted to base module errors?"

No.  Any error code can be used.  In the end it's really unimportant
where an error has occurred as long as the user gets notified.


    Werner




reply via email to

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