diff options
author | lecoanet | 2005-05-25 08:25:59 +0000 |
---|---|---|
committer | lecoanet | 2005-05-25 08:25:59 +0000 |
commit | 6ed591d0ce60e7e942b1678df087ff195ac032a9 (patch) | |
tree | 0a169f8389f64a0c5a95e5b5ea6c0463b2c80d2a | |
parent | f38dfccc7ae95aea477d2b13c433d604bf69acae (diff) | |
download | tkzinc-6ed591d0ce60e7e942b1678df087ff195ac032a9.zip tkzinc-6ed591d0ce60e7e942b1678df087ff195ac032a9.tar.gz tkzinc-6ed591d0ce60e7e942b1678df087ff195ac032a9.tar.bz2 tkzinc-6ed591d0ce60e7e942b1678df087ff195ac032a9.tar.xz |
Fix a bug preventing the display of characters above 127 in openGL.
-rw-r--r-- | generic/Image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/Image.c b/generic/Image.c index d6636e9..723adcb 100644 --- a/generic/Image.c +++ b/generic/Image.c @@ -1650,7 +1650,7 @@ ZnGetFontIndex(ZnTexFontInfo tfi, if (!tgvi) { return -1; } - min = 127; + min = 127 - 32; max = txf->num_glyphs; while (min < max) { mid = (min + max) >> 1; @@ -1665,7 +1665,7 @@ ZnGetFontIndex(ZnTexFontInfo tfi, min = mid + 1; } } - /*fprintf(stderr, "Tried to access unavailable texture font character %d (Unicode)\n", c);*/ + //fprintf(stderr, "Tried to access unavailable texture font character %d (Unicode)\n", c); return -1; } |