From b3e3a77c2d029ab8bd4d7afc35cf94b59d117ac3 Mon Sep 17 00:00:00 2001 From: Tom Kacvinsky Date: Wed, 7 Feb 2001 03:45:49 +0000 Subject: [PATCH] In function is_alpha, make `-' a legal alphanumeric character. This is so that font names with `-' are fully parsed, etc... --- src/type1/t1load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/type1/t1load.c b/src/type1/t1load.c index 53d2a4a6f..e4187c9c9 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 == '-' ); }