With Roland's fix, mkfontscale generates encodings.dir files
containing the string (null), ie with lines like:

big5-0 (null)(null)large/big5.eten-0.enc
big5.eten-0 (null)large/big5.eten-0.enc
viscii1.1-1 (null)./viscii1.1-1.enc.gz
adobe-symbol (null)./adobe-symbol.enc.gz

The following diff seems to remove the nulls;
any idea whether this is the right solution ?
--------------------------------------------
diff -u -r1.8 mkfontscale.c
--- mkfontscale.c       2003/06/30 16:52:57     1.8
+++ mkfontscale.c       2003/07/01 11:58:19
@@ -1203,7 +1203,7 @@
             continue;
 
         for(name = names; *name; name++) {
-            if(fullname[0] != '/') {
+            if(encodingPrefix && fullname[0] != '/') {
                 char *n;
                 n = dsprintf("%s%s", encodingPrefix, fullname);
                 if(n == NULL) {
--------------------------------------------

What sort of checking was done before replaceing mkfontdir with 
mkfontscale ?

Is there a realistic prospect of testing and fixing this
properly within say a week ?
If not, I'd like to revert to building the real mkfontdir app and
having a build option to use one or the other when making XFree86.

-- 
Dr. Andrew C. Aitchison         Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]       http://www.dpmms.cam.ac.uk/~werdna

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to