mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
LibPDF/CFF: Make parse_top_dict() return all top dicts
This happens for CFFs that contain multiple fonts. This doesn't happen in practice, but the same code will be used for fdarray parsing, which will contain several dicts. No behavior change.
This commit is contained in:
parent
9f1cf8babc
commit
524a4f6256
2 changed files with 16 additions and 8 deletions
|
@ -128,7 +128,7 @@ public:
|
|||
float nominalWidthX = 0;
|
||||
int fdselect_offset = 0;
|
||||
};
|
||||
static PDFErrorOr<TopDict> parse_top_dict(Reader&, ReadonlyBytes const& cff_bytes);
|
||||
static PDFErrorOr<Vector<TopDict>> parse_top_dicts(Reader&, ReadonlyBytes const& cff_bytes);
|
||||
|
||||
static PDFErrorOr<Vector<StringView>> parse_strings(Reader&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue