[GRASS-SVN] r36390 - grass/trunk/lib/driver

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 16 04:19:27 EDT 2009


Author: hcho
Date: 2009-03-16 04:19:27 -0400 (Mon, 16 Mar 2009)
New Revision: 36390

Modified:
   grass/trunk/lib/driver/Font.c
Log:
Pick up the correct font

Modified: grass/trunk/lib/driver/Font.c
===================================================================
--- grass/trunk/lib/driver/Font.c	2009-03-16 08:04:41 UTC (rev 36389)
+++ grass/trunk/lib/driver/Font.c	2009-03-16 08:19:27 UTC (rev 36390)
@@ -121,7 +121,7 @@
 	    if (!parse_fontcap_entry(&cap, list[i]))
 		continue;
 
-	    if (cap.type != GFONT_DRIVER)
+	    if (cap.type != GFONT_DRIVER || strcmp(name, cap.name) != 0)
 		continue;
 
 	    driver_set(cap.name);
@@ -157,4 +157,3 @@
     if (driver->Font_info)
 	(*driver->Font_info)(list, count);
 }
-



More information about the grass-commit mailing list