Am 30.04.2012 11:20, schrieb Fabian Greffrath:
Could you please apply the attached patch

This one... :/
Description: Do not trim the results of FcFontSort,
 as it may miss some reasonable candidates then.
 Also, fix passing 0 as a pointer to "result".
Author: Fabian Greffrat <fabian+deb...@greffrath.com>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670055

--- cups-filters-1.0.16.orig/filter/texttopdf.c
+++ cups-filters-1.0.16/filter/texttopdf.c
@@ -64,7 +64,7 @@ EMB_PARAMS *font_load(const char *font)
     FcDefaultSubstitute (pattern);
 
     /* Receive a sorted list of fonts matching our pattern */
-    candidates = FcFontSort (0, pattern, FcTrue, 0, 0);
+    candidates = FcFontSort (0, pattern, FcFalse, 0, NULL);
     FcPatternDestroy (pattern);
 
     /* In the list of fonts returned by FcFontSort()

Reply via email to