diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2003-03-11 23:38:11 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2003-03-11 23:38:11 +0000 |
commit | 62d3b1c1fc5917881b5ddbd7e85367d9ee8f0523 (patch) | |
tree | 138a8c3c6b50724d0f2c54f9e0434141128f7521 /x11/XFree86-4-libraries/files/patch-XTT | |
parent | Update MASTER_SITES (diff) |
Update XFree86 ports, including linux_dri, to 4.3.0. Set IGNORE= in dri-devel
for being outdated. Thank you to all the testers and people who submitted
patches for this update.
Approved by: portmgr
Notes
Notes:
svn path=/head/; revision=77104
Diffstat (limited to 'x11/XFree86-4-libraries/files/patch-XTT')
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-XTT | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-XTT b/x11/XFree86-4-libraries/files/patch-XTT deleted file mode 100644 index bea103fd3abc..000000000000 --- a/x11/XFree86-4-libraries/files/patch-XTT +++ /dev/null @@ -1,48 +0,0 @@ ---- extras/X-TrueType/xttfuncs.c.old 2000/09/26 15:56:41 1.8 -+++ extras/X-TrueType/xttfuncs.c 2001/02/18 04:08:33 -@@ -565,8 +565,9 @@ - - /* - * Check invalid char index. -+ * c = 0 is the default glyph for undefined glyphs in TTF. - */ -- if ( c <= 0 ) { -+ if ( c < 0 ) { - charInfo = &nocharinfo; - goto next; - } -@@ -769,8 +770,9 @@ - - /* - * Check invalid char index. -+ * c = 0 is the default glyph for undefined glyphs in TTF. - */ -- if ( c <= 0 ) { -+ if ( c < 0 ) { - charInfo = &nocharinfo; - goto next; - } -@@ -934,14 +936,19 @@ - c1 <= pFont->info.lastRow && - c2 >= pFont->info.firstCol && - c2 <= pFont->info.lastCol)) { -- *glyphs++ = &nocharinfo; -+ /* -+ * &nocharinfo will show garbage, just set c1 to 0. -+ * The default glyph for undefined glphy will be used. -+ */ -+ /* *glyphs++ = &nocharinfo; */ - dprintf((stderr, "invalid code\n")); -+ c1 = 0; - } else { - c1 = ft->codeConverterInfo.ptrCodeConverter(c1<<8|c2); -+ } - dprintf((stderr, "%04x\n", c1)); - *glyphs++ = get_glyph(ft, TT_Char_Index(ft->charmap, c1), - spacing); -- } - } - break; - } - - |