Error loading fonts

Lynn Kerby <[email protected]> Fri, 30 Apr 2004 14:14:17 -0700
Newsgroups gmane.comp.graphics.sodipodi
Message-ID <[email protected]>
This list is awfully quiet these days....

Recent CVS versions of sodipodi report an error when loading the fonts
specified in ~/.sodipodi/private-fonts.  There seems to be an error in
the order of arguments to the nr_type_ft2_build_def() function.

The attached patch fixes it for me.
-- 
Lynn Kerby <mailto:[email protected]>
nr-type.patch (text/plain, 696 B)
Index: nr-type-directory.c
===================================================================
RCS file: /cvs/gnome/sodipodi/src/libnrtype/nr-type-directory.c,v
retrieving revision 1.43
diff -u -3 -r1.43 nr-type-directory.c
--- nr-type-directory.c	19 Mar 2004 14:50:55 -0000	1.43
+++ nr-type-directory.c	30 Apr 2004 20:52:02 -0000
@@ -659,7 +659,7 @@
 						arikkei_token_strncpy (&filet, f, 1024);
 						arikkei_token_strncpy (&namet, n, 1024);
 						arikkei_token_strncpy (&familyt, m, 1024);
-						nr_type_ft2_build_def (dft2, f, n, m, slant, weight, face);
+						nr_type_ft2_build_def (dft2, n, m, f, slant, weight, face);
 						nr_type_register ((NRTypeFaceDef *) dft2);
 					}
 				}