LibPDF: Don't log CFF Copyright tag as unknown

This commit is contained in:
Nico Weber 2023-10-21 11:21:14 -04:00 committed by Andreas Kling
parent f32764975a
commit 04aec4a032
Notes: sideshowbarker 2024-07-17 04:34:25 +09:00
2 changed files with 3 additions and 1 deletions

View file

@ -140,6 +140,7 @@ PDFErrorOr<NonnullRefPtr<CFF>> CFF::create(ReadonlyBytes const& cff_bytes, RefPt
case TopDictOperator::FontBBox:
case TopDictOperator::UniqueID:
case TopDictOperator::XUID:
case TopDictOperator::Copyright:
case TopDictOperator::IsFixedPitch:
case TopDictOperator::ItalicAngle:
case TopDictOperator::UnderlinePosition:

View file

@ -34,7 +34,8 @@ private:
Encoding,
CharStrings,
Private,
IsFixedPitch = (12 << 8 | 1),
Copyright = (12 << 8),
IsFixedPitch,
ItalicAngle,
UnderlinePosition,
UnderlineThickness,