mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
LibPDF/CFF: Add enum values for CID-keyed font top dict entries
No behavior change.
This commit is contained in:
parent
6df0150671
commit
6ebddab448
2 changed files with 21 additions and 0 deletions
|
@ -229,6 +229,16 @@ PDFErrorOr<NonnullRefPtr<CFF>> CFF::create(ReadonlyBytes const& cff_bytes, RefPt
|
|||
}));
|
||||
break;
|
||||
}
|
||||
case TopDictOperator::CIDFontVersion:
|
||||
case TopDictOperator::CIDFontRevision:
|
||||
case TopDictOperator::CIDFontType:
|
||||
case TopDictOperator::CIDCount:
|
||||
case TopDictOperator::UIDBase:
|
||||
case TopDictOperator::FDArray:
|
||||
case TopDictOperator::FDSelect:
|
||||
case TopDictOperator::FontName:
|
||||
// Keys for CID-keyed fonts that we don't need, at least at the moment.
|
||||
break;
|
||||
default:
|
||||
dbgln("CFF: Unhandled top dict entry {}", static_cast<int>(op));
|
||||
}
|
||||
|
|
|
@ -47,6 +47,17 @@ private:
|
|||
PostScript,
|
||||
BaseFontName,
|
||||
BaseFontBlend,
|
||||
|
||||
// CFF spec, "Table 10 CIDFont Operator Extensions"
|
||||
RegistryOrderingSupplement = (12 << 8 | 30),
|
||||
CIDFontVersion,
|
||||
CIDFontRevision,
|
||||
CIDFontType,
|
||||
CIDCount,
|
||||
UIDBase,
|
||||
FDArray,
|
||||
FDSelect,
|
||||
FontName,
|
||||
};
|
||||
|
||||
// CFF spec, "Table 23 Private DICT Operators"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue