DescriptionIssue 4989/3: Add a guard against invalid Type 1 (PFB) font
This commit makes LilyPond can detect invalid Type1 (PFB) font.
Issue 4989/2: Fix Type 1 (PFB) font embedding
Type 1 PFA data which is converted from PFB files can contain '\0'.
In order to avoid problems with '\0',
this commit makes to use the file length
instead of zero-terminated string.
Issue 4989/1: Fix Type 1 (PFA) font embedding
Type 1 (PFA) fonts can contain '\0'.
e.g. URW++ June 2016 (Ghostscript 9.20)
In order to avoid problems with '\0',
this commit makes to use the file length
instead of zero-terminated string.
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use stringstream and add PFB error check #
MessagesTotal messages: 6
|