shithub: freetype+ttf2subf

Download patch

ref: 97094311aaa8931e251c62068c8d7f725322553a
parent: 1df6a317045ae82bf0424cb32c963657bee38de4
author: Tom Kacvinsky <[email protected]>
date: Tue Feb 6 22:45:49 EST 2001

In function is_alpha, make `-' a legal alphanumeric character.  This
is so that font names with `-' are fully parsed, etc...

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/type1/t1load.c
+++ b/src/type1/t1load.c
@@ -765,7 +765,7 @@
   static
   int  is_alpha( FT_Byte  c )
   {
-    return ( isalnum( c ) || c == '.' || c == '_' );
+    return ( isalnum( c ) || c == '.' || c == '_' || c == '-' );
   }