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;
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;
}
}