mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-21 04:17:57 +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;
|
precedingNumbers = 0;
|
||||||
}
|
}
|
||||||
|
else if (identifier.IsMultiByteCommand && identifier.CommandId > 35)
|
||||||
|
{
|
||||||
|
precedingNumbers = 0;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
stemCount += SafeStemCount(precedingNumbers);
|
stemCount += SafeStemCount(precedingNumbers);
|
||||||
|
Reference in New Issue
Block a user