mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-15 19:54:52 +08:00
only declare a cff font to be a cid font if the registry ordering supplement (ros) is provided
This commit is contained in:
@@ -117,35 +117,27 @@
|
||||
break;
|
||||
case 31:
|
||||
dictionary.CidFontOperators.Version = GetIntOrDefault(operands);
|
||||
dictionary.IsCidFont = true;
|
||||
break;
|
||||
case 32:
|
||||
dictionary.CidFontOperators.Revision = GetIntOrDefault(operands);
|
||||
dictionary.IsCidFont = true;
|
||||
break;
|
||||
case 33:
|
||||
dictionary.CidFontOperators.Type = GetIntOrDefault(operands);
|
||||
dictionary.IsCidFont = true;
|
||||
break;
|
||||
case 34:
|
||||
dictionary.CidFontOperators.Count = GetIntOrDefault(operands);
|
||||
dictionary.IsCidFont = true;
|
||||
break;
|
||||
case 35:
|
||||
dictionary.CidFontOperators.UidBase = GetIntOrDefault(operands);
|
||||
dictionary.IsCidFont = true;
|
||||
break;
|
||||
case 36:
|
||||
dictionary.CidFontOperators.FontDictionaryArray = GetIntOrDefault(operands);
|
||||
dictionary.IsCidFont = true;
|
||||
break;
|
||||
case 37:
|
||||
dictionary.CidFontOperators.FontDictionarySelect = GetIntOrDefault(operands);
|
||||
dictionary.IsCidFont = true;
|
||||
break;
|
||||
case 38:
|
||||
dictionary.CidFontOperators.FontName = GetString(operands, stringIndex);
|
||||
dictionary.IsCidFont = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user