From 69b6958c9d73dd7d584ddf3a2d8bc051fb2bafd0 Mon Sep 17 00:00:00 2001 From: Eliot Jones Date: Wed, 15 May 2019 20:00:24 +0100 Subject: [PATCH] only declare a cff font to be a cid font if the registry ordering supplement (ros) is provided --- .../CompactFontFormatTopLevelDictionaryReader.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/UglyToad.PdfPig/Fonts/CompactFontFormat/Dictionaries/CompactFontFormatTopLevelDictionaryReader.cs b/src/UglyToad.PdfPig/Fonts/CompactFontFormat/Dictionaries/CompactFontFormatTopLevelDictionaryReader.cs index 41cb323c..2f326a95 100644 --- a/src/UglyToad.PdfPig/Fonts/CompactFontFormat/Dictionaries/CompactFontFormatTopLevelDictionaryReader.cs +++ b/src/UglyToad.PdfPig/Fonts/CompactFontFormat/Dictionaries/CompactFontFormatTopLevelDictionaryReader.cs @@ -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; } }