mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-19 10:47:56 +08:00
ignore hflex when calculating hint bytes
hflex and hflex1 should not count towards the hint byte count for a hintmask operator in type 2 charstrings.
This commit is contained in:
@@ -902,6 +902,10 @@ namespace UglyToad.PdfPig.Fonts.CompactFontFormat.CharStrings
|
||||
{
|
||||
precedingNumbers = 0;
|
||||
}
|
||||
else if (identifier.IsMultiByteCommand && identifier.CommandId > 35)
|
||||
{
|
||||
precedingNumbers = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
stemCount += SafeStemCount(precedingNumbers);
|
||||
|
Reference in New Issue
Block a user