Commit 97094311aaa8931e251c62068c8d7f725322553a

Tom Kacvinsky 2001-02-07T03:45:49

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/type1/t1load.c b/src/type1/t1load.c
index 53d2a4a..e4187c9 100644
--- 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 == '-' );
   }