On Fri, Dec 05, 2003 at 06:04:54AM +0100, Roland Mainz wrote:
>David Dawes wrote:
>> >> How does 2.1.4's handling of Type1 fonts compare with the Type1
>> >> backend?
>> >
>> >Do you mean xc/lib/font/Type1/ vs xc/lib/font/FreeType/ ? In my opinion
>> >the xc/lib/font/Type1/ should be retired since it causes server crashes
>> >such as "Fatal server error: Beziers this big not yet supported" and
>> >seems to have huge problems with rasterisation at higher resolutions. At
>> 
>> Yeah, FatalError() from a font backend is bad.  It ought to print
>> a warning and return a relevant error code rather than killing the
>> whole server.
>
>Unfortunately it isn't easy to handle that kind of error in a simple
>way... you can use setjmp/longjmp() for that case but that doesn't do
>any cleanup nor will it reset the Type1 engine...

Yeah, it wouldn't be simple.  Disabling the Type1 engine completely
when one of these errors happens would even be preferable to aborting
the whole X server.

>> >least for PS Type1 fonts the current code in xc/lib/font/FreeType/ is
>> >mature[1] enougth to let it handle all PS Type1 fonts (*.pfa, *.pfb).
>> >Unfortunately there are still the CID fonts where the FreeType backend
>> >and the FreeType library do not offer support for... but the question is
>> >- do we still need CID fonts when we have TTF/OTF font support ?
>> 
>> I recently tracked down a problem report related to CID fonts, so I guess
>> someone is using them.
>
>What about handling *.pfa/*.pfb via the FreeType backend and let CID
>fonts be handled via the old Type1 backend ?

That is the current default behaviour.

David
-- 
David Dawes
developer/release engineer                      The XFree86 Project
www.XFree86.org/~dawes
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to