SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
17
misc/magicpoint/patches/patch-tfont_c
Normal file
17
misc/magicpoint/patches/patch-tfont_c
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- tfont.c.orig Wed Feb 11 15:48:33 2009
|
||||
+++ tfont.c Wed Feb 11 15:52:30 2009
|
||||
@@ -597,8 +597,14 @@ CharToUnicode(code, registry)
|
||||
if (mgp_charset)
|
||||
regid = get_regid(mgp_charset) -1;
|
||||
}
|
||||
+#ifdef FREETYPE_CHARSET16
|
||||
+ if (unicode_map[code])
|
||||
+ code = unicode_map[code];
|
||||
+#else
|
||||
if (latin_unicode_map[regid][code])
|
||||
code = latin_unicode_map[regid][code];
|
||||
+#endif
|
||||
+
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue