[Tux4kids-commits] r88 - tuxtype/trunk/tuxtype

holger at alioth.debian.org holger at alioth.debian.org
Thu Mar 8 21:37:50 CET 2007


Author: holger
Date: 2006-02-06 11:44:05 +0000 (Mon, 06 Feb 2006)
New Revision: 88

Modified:
   tuxtype/trunk/tuxtype/loaders.c
Log:
more comments added


Modified: tuxtype/trunk/tuxtype/loaders.c
===================================================================
--- tuxtype/trunk/tuxtype/loaders.c	2006-02-06 11:27:50 UTC (rev 87)
+++ tuxtype/trunk/tuxtype/loaders.c	2006-02-06 11:44:05 UTC (rev 88)
@@ -162,6 +162,18 @@
 	int i;
 /* char themeName[FNLEN]; */
 
+
+	/* 
+	 *
+	 *
+	 * this will fail now, as those fonts have been removed
+	 * 
+	 *
+	 * this routine is only left here for reference
+	 * 
+	 *
+	 *
+	 */
 	/* try to find font first in theme dir, then in default */
 	for (i=useEnglish; i<2; i++) {
 		sprintf( fn, "%s/fonts/%s", realPath[i], fontfile );
@@ -175,6 +187,7 @@
 		}
 	}
 
+	/* this doesnt work yet (and is a hack)*/
 	/* cyrillic hack  */
 	 DEBUGCODE { printf(" sssssnichwaaassssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssuch mich a%sa  \n", themeName); }
 	  
@@ -195,6 +208,8 @@
 	} 
 	 DEBUGCODE { printf("warumbloss\n"); }
 		
+
+	/* this works (and is a hack */ 
 	/* "fallback" (the above _will_ fall): load the font from ttf-freefont */
 /*	sprintf( fn, "%s/%s", "/usr/share/fonts/truetype/freefont/", fontfile ); */
 	sprintf( fn, "%s/%s", "/usr/share/fonts/truetype/ttf-gentium/", fontfile );




More information about the Tux4kids-commits mailing list