Re: 2003_06_30 mkfontscale creates encodings.dir in wrong order

2003-07-01 Thread Egbert Eich
Thanks!
I've commited this.

Egbert.


Roland Mainz writes:
  
  Hi!
  
  
  
  Xfree86 source tree, pulled at 2003-06-30 this morning. It seems that
  mkfontscale is generating the encodings.dir files in the wrong order.
  The fontenc code expects the name filename order but mkfontscale
  uses now filename name (which means that most encodings are not
  recognised anymore when fonts.scale should be build).
  
  I've attached a patch to fix the issue...
  
  
  
  Bye,
  Roland
  
  -- 
__ .  . __
   (o.\ \/ /.o) [EMAIL PROTECTED]
\__\/\/__/  [EMAIL PROTECTED]
/O /==\ O\  MPEG specialist, CJAVASunUnix programmer
   (;O/ \/ \O;) TEL +49 641 99-41370 FAX +49 641 99-41359Index: mkfontscale.c
  ===
  RCS file: /cvs/xc/programs/mkfontscale/mkfontscale.c,v
  retrieving revision 1.7
  diff -u -r1.7 mkfontscale.c
  --- mkfontscale.c2003/06/20 15:49:52 1.7
  +++ mkfontscale.c2003/06/30 23:03:37
  @@ -1210,7 +1210,7 @@
   free(fullname);
   fullname = n;
   }
  -encodingsToDo = listConsF(encodingsToDo, %s %s, fullname, *name);
  +encodingsToDo = listConsF(encodingsToDo, %s %s, *name, fullname);
   if(encodingsToDo == NULL) {
   fprintf(stderr, Couldn't allocate encodings\n);
   closedir(dirp);
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


2003_06_30 mkfontscale creates encodings.dir in wrong order

2003-06-30 Thread Roland Mainz

Hi!



Xfree86 source tree, pulled at 2003-06-30 this morning. It seems that
mkfontscale is generating the encodings.dir files in the wrong order.
The fontenc code expects the name filename order but mkfontscale
uses now filename name (which means that most encodings are not
recognised anymore when fonts.scale should be build).

I've attached a patch to fix the issue...



Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [EMAIL PROTECTED]
  \__\/\/__/  [EMAIL PROTECTED]
  /O /==\ O\  MPEG specialist, CJAVASunUnix programmer
 (;O/ \/ \O;) TEL +49 641 99-41370 FAX +49 641 99-41359Index: mkfontscale.c
===
RCS file: /cvs/xc/programs/mkfontscale/mkfontscale.c,v
retrieving revision 1.7
diff -u -r1.7 mkfontscale.c
--- mkfontscale.c   2003/06/20 15:49:52 1.7
+++ mkfontscale.c   2003/06/30 23:03:37
@@ -1210,7 +1210,7 @@
 free(fullname);
 fullname = n;
 }
-encodingsToDo = listConsF(encodingsToDo, %s %s, fullname, *name);
+encodingsToDo = listConsF(encodingsToDo, %s %s, *name, fullname);
 if(encodingsToDo == NULL) {
 fprintf(stderr, Couldn't allocate encodings\n);
 closedir(dirp);