diff options
Diffstat (limited to 'src/type1/t1load.c')
-rw-r--r-- | src/type1/t1load.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/type1/t1load.c b/src/type1/t1load.c index 2b097999b..817c940c1 100644 --- a/src/type1/t1load.c +++ b/src/type1/t1load.c @@ -827,6 +827,7 @@ FT_Byte* cur2; FT_Byte* limit; + if ( face->type1.font_name ) /* with synthetic fonts, it's possible we get here twice */ return; @@ -959,6 +960,7 @@ FT_Memory memory = parser->root.memory; FT_Error error; + if ( encode->char_index ) /* with synthetic fonts, it's possible we get here twice */ return; @@ -1101,6 +1103,7 @@ PSAux_Interface* psaux = (PSAux_Interface*)face->psaux; + if ( loader->num_subrs ) /* with synthetic fonts, it's possible we get here twice */ return; |