On Tue, Oct 22, 2002 at 12:59:34AM -0400, James H. Cloos Jr. wrote:
>>>>>> "David" == David Dawes <[EMAIL PROTECTED]> writes:
>
>David> Unless the old Type1 backend can unreservedly be replaced by
>David> the new FreeType2 backend, then it should be disabled, and
>David> maybe even a "fake" type1 font module created for the modular
>David> build so that existing configurations don't break.  If there
>David> are still reasons for wanting the old backend, then it needs to
>David> be configurable, at least at build-time.
>
>I beleive the old type1 backend is still required for type1 cid fonts.
>It would be useful to have an easy way of compiling it w/ the moral
>equivilent of:
>
>--- t1funcs.c.~1~      Mon Feb 18 15:51:57 2002
>+++ t1funcs.c  Tue Oct 22 00:57:09 2002
>@@ -1434,16 +1434,20 @@
> FontRendererRec CIDRendererInfo[] = {
>   { ".cid", 4, NULL, CIDOpenScalable,
>+        NULL, CIDGetInfoScalable, 0, CAPABILITIES },
>+  { ".CID", 4, NULL, CIDOpenScalable,
>         NULL, CIDGetInfoScalable, 0, CAPABILITIES }
> };
> #endif
>  
>-#ifdef BUILDCID
>+#ifndef BUILD_ONLY_CID
>+# ifdef BUILDCID
> FontRendererRec Type1RendererInfo[] = {
>-#else
>+# else
> static FontRendererRec renderers[] = {
>-#endif
>+# endif
>   { ".pfa", 4, NULL, Type1OpenScalable,
>         NULL, Type1GetInfoScalable, 0, CAPABILITIES },
>   { ".pfb", 4, NULL, Type1OpenScalable,
>         NULL, Type1GetInfoScalable, 0, CAPABILITIES }
> };
>+#endif
>
>so that it will load .cid and .CID files but leave .pfa or .pfb for
>the ft2 driver.

A run-time method for assigning font file suffixes to backends would
take care of this too, at least for the XFree86 server (and maybe also
the font server?).  Is anyone interested in looking into that?

For other servers, it's easiest to handle it at build time, and it would
be useful to imake switches to determine common useful combinations like
this.  Any takers for implementing this?

David
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to