Removing xc/lib/font/Type1 , Speedo and FONTCACHE support fromXorg default build...

Mike FABIAN mfabian at suse.de
Fri Apr 23 20:53:29 EST 2004


Roland Mainz <roland.mainz at nrubsig.org> さんは書きました:

> Mike FABIAN wrote:
>> > Are there any objections against that I remove the following stuff from
>> > the Xorg default build:
>> > 1. xc/lib/font/Type1/ - this code handles Type1 and CID fonts.
>> > Unfortunately the code is permanently crashing with "Beziers this big
>> > not yet supported" and that's more than anyoing... and the code is no
>> > longer be maintained since a longer time... and even Xfree86 has
>> > turned-off that code since the xc/lib/font/Freetype/ code has Type1 font
>> > support and does the job much better than xc/lib/font/Type1/
>> > Note: I am _not_ removing PS Type1 font support... Type1 fonts will
>> > still be supported after that change... don't worry... :)
>> 
>> But CID keyed fonts will stop working. So please don't remove the
>> Type1 module until CID keyed fonts are supported by the freetype
>> module as well.
>
> Uhm... OK... I was little bit unclear... my fault. Looking at
> xc/config/cf/X11.tmpl there are TWO defines, one for normal PFA/PFB
> Type1 handling and one or CID-keyed PS fonts:
> -- snip --
> ...
> #ifndef BuildType1
> #define BuildType1              YES
> #endif
> #ifndef BuildCID
> #define BuildCID                YES
> #endif
> ...
> -- snip --
> I only want to set |BuildType1| to |NO|, leaving |BuildCID|
> untouched.... this still leaves a hole to crash the server but I think
> that's acceptable since CID-keyed fonts aren't that common and therefore
> the risk of blowing-up the server quite low... :)
>
> Is that acceptable ?

That is OK with me.

I hope that in future CID keyed fonts will be supported by freetype as
well. With "freetype" I mean just the library and not the module.  As
soon as the freetype library supports these fonts, they will be
available via Xft. If that finally works the Type1 module can be
removed completely. Using Xft is much better than using core fonts
anyway.

But currently the Type1 module is the only support for CID-keyed fonts
in X11.

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。



More information about the release-wranglers mailing list