[teklib-general] changeset in /hg/teklib/current: test utf8 converter

Franciska Schulze fschulze at neoscientists.org
Mon Nov 26 16:25:57 CET 2007


changeset 1226719560a8 in /hg/teklib/current
details: http://teklib.org:8001/hg/teklib/current?cmd=changeset;node=1226719560a8
description:
	test utf8 converter

diffs (21 lines):

diff -r 11e379f742e4 -r 1226719560a8 src/visual/tests/fonts.c
--- a/src/visual/tests/fonts.c	Mon Oct 01 17:30:22 2007 +0200
+++ b/src/visual/tests/fonts.c	Mon Oct 01 17:32:07 2007 +0200
@@ -32,7 +32,7 @@ TVOID fonttest(TAPTR v, TVPEN *pentab)
 	TINT fh = 0;
 	TAPTR cfont = TNULL;
 	TAPTR dfont = TNULL;
-	TSTRPTR buf = "ABCDEFG.^'!$%&/()=?`|";
+	TSTRPTR buf = "äöü ABCDEFG.^'!$%&/()=?`|";
 	TTAGITEM ftags[6];
 	static TBOOL init_done = TFALSE;
 
@@ -50,7 +50,7 @@ TVOID fonttest(TAPTR v, TVPEN *pentab)
 #if 1
 		/* query fonts */
 		ftags[0].tti_Tag = TVisual_FontName;
-		ftags[0].tti_Value = (TTAG) "*";
+		ftags[0].tti_Value = (TTAG) "utopia";
 		ftags[1].tti_Tag = TVisual_FontPxSize;
 		ftags[1].tti_Value = (TTAG) 48;
 


More information about the teklib-general mailing list