Blame fontforge-20100501-unicode-crash.patch
|
Kevin Fenzi |
f63c0bd |
diff -Nur fontforge-20100501/fontforge/fvcomposit.c fontforge-20100501.orig/fontforge/fvcomposit.c
|
|
Kevin Fenzi |
f63c0bd |
--- fontforge-20100501/fontforge/fvcomposit.c 2011-02-16 20:33:29.632880857 -0700
|
|
Kevin Fenzi |
f63c0bd |
+++ fontforge-20100501.orig/fontforge/fvcomposit.c 2010-04-05 14:10:26.000000000 -0600
|
|
Kevin Fenzi |
f63c0bd |
@@ -1337,7 +1337,7 @@
|
|
Kevin Fenzi |
f63c0bd |
unicodeenc==0x1fef || unicodeenc==0x1ffd || unicodeenc==0x1ffe))
|
|
Kevin Fenzi |
f63c0bd |
return( false );
|
|
Kevin Fenzi |
f63c0bd |
|
|
Kevin Fenzi |
f63c0bd |
- if ( iszerowidth(unicodeenc) ||
|
|
Kevin Fenzi |
f63c0bd |
+ if ((unicodeenc <= 0xffff && iszerowidth(unicodeenc)) ||
|
|
Kevin Fenzi |
f63c0bd |
(unicodeenc>=0x2000 && unicodeenc<=0x2015 ))
|
|
Kevin Fenzi |
f63c0bd |
return( !onlyaccents );
|
|
Kevin Fenzi |
f63c0bd |
|