only declare a cff font to be a cid font if the registry ordering supplement (ros) is provided

This commit is contained in:
Eliot Jones
2019-05-15 20:00:24 +01:00
parent 5cf62eaa11
commit 69b6958c9d

View File

@@ -117,35 +117,27 @@
break; break;
case 31: case 31:
dictionary.CidFontOperators.Version = GetIntOrDefault(operands); dictionary.CidFontOperators.Version = GetIntOrDefault(operands);
dictionary.IsCidFont = true;
break; break;
case 32: case 32:
dictionary.CidFontOperators.Revision = GetIntOrDefault(operands); dictionary.CidFontOperators.Revision = GetIntOrDefault(operands);
dictionary.IsCidFont = true;
break; break;
case 33: case 33:
dictionary.CidFontOperators.Type = GetIntOrDefault(operands); dictionary.CidFontOperators.Type = GetIntOrDefault(operands);
dictionary.IsCidFont = true;
break; break;
case 34: case 34:
dictionary.CidFontOperators.Count = GetIntOrDefault(operands); dictionary.CidFontOperators.Count = GetIntOrDefault(operands);
dictionary.IsCidFont = true;
break; break;
case 35: case 35:
dictionary.CidFontOperators.UidBase = GetIntOrDefault(operands); dictionary.CidFontOperators.UidBase = GetIntOrDefault(operands);
dictionary.IsCidFont = true;
break; break;
case 36: case 36:
dictionary.CidFontOperators.FontDictionaryArray = GetIntOrDefault(operands); dictionary.CidFontOperators.FontDictionaryArray = GetIntOrDefault(operands);
dictionary.IsCidFont = true;
break; break;
case 37: case 37:
dictionary.CidFontOperators.FontDictionarySelect = GetIntOrDefault(operands); dictionary.CidFontOperators.FontDictionarySelect = GetIntOrDefault(operands);
dictionary.IsCidFont = true;
break; break;
case 38: case 38:
dictionary.CidFontOperators.FontName = GetString(operands, stringIndex); dictionary.CidFontOperators.FontName = GetString(operands, stringIndex);
dictionary.IsCidFont = true;
break; break;
} }
} }