aboutsummaryrefslogtreecommitdiff
path: root/src/psaux/pshints.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/psaux/pshints.c')
-rw-r--r--src/psaux/pshints.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/psaux/pshints.c b/src/psaux/pshints.c
index 94f18c731..361519642 100644
--- a/src/psaux/pshints.c
+++ b/src/psaux/pshints.c
@@ -842,7 +842,15 @@
cf2_arrstack_size( hStemHintArray ) +
cf2_arrstack_size( vStemHintArray ) );
if ( !cf2_hintmask_isValid( hintMask ) )
+ {
+ if ( font->isT1 )
+ {
+ /* no error, just continue unhinted */
+ *hintMask->error = FT_Err_Ok;
+ hintmap->hinted = FALSE;
+ }
return; /* too many stem hints */
+ }
}
/* begin by clearing the map */