1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:27:45 +00:00

LibPDF/CFF: Add code for fdselect parsing

This is one of the two top dict entries we need for CID-keyed fonts.
We don't send any CID-keyed font data into the CFF parser yet,
so no behavior change.
This commit is contained in:
Nico Weber 2024-02-09 08:08:00 -05:00 committed by Jelle Raaijmakers
parent 6ebddab448
commit 7ab4e53b99
2 changed files with 57 additions and 1 deletions

View file

@ -124,6 +124,7 @@ public:
static DeprecatedFlyString resolve_sid(SID, Vector<StringView> const&);
static PDFErrorOr<Vector<SID>> parse_charset(Reader&&, size_t);
static PDFErrorOr<Vector<u8>> parse_fdselect(Reader&&, size_t);
static PDFErrorOr<Vector<u8>> parse_encoding(Reader&&, HashMap<Card8, SID>& supplemental);
};