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

Bug#182843: xtt of 4.2.1-6 is broken



Package: xserver-xfree86
Version: 4.2.1-6
Severity: important

  The "xtt" of 4.2.1-6 is broken.

  Don't apply the following, please.  This code is only for
XFree86-4.3.0.  FontFilePriorityRegisterRenderer() will be
unresolved.

+@@ -2079,8 +2174,12 @@
+ 
+     /* reset */
+     /* register */
+-    for (i=0;i<sizeof(renderers)/sizeof(renderers[0]);i++)
+-        FontFileRegisterRenderer(renderers + i);
++    for (i=0;i<sizeof(renderers)/sizeof(renderers[0]);i++) {
++        /* If the user has both the FreeType and the X-TT backends
++           linked in, he probably wants X-TT to be used for TrueType
++           fonts. */
++        FontFilePriorityRegisterRenderer(renderers + i, +10);
++    }
+ 
+     return 0;
+ }

 588. Add a new interface for registration of core font renderers that allows
      priorities to be assigned.  This allows multiple renderers for the
      same extension to be registered, with the one with the highest priority
      being the one that gets used (#5435, 5437, Juliusz Chroboczek).

------------------------------------------------------------
    Chisato Yamauchi




Reply to: