1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 08:17:34 +00:00

LibPDF/CFF: Store if a font program is CID-keyed

...and reject CID-keyed font programs for Type1 fonts.
This commit is contained in:
Nico Weber 2024-02-14 09:06:52 -05:00 committed by Andreas Kling
parent bb7d29d007
commit 7494f24430
4 changed files with 26 additions and 0 deletions

View file

@ -126,6 +126,7 @@ public:
Vector<ByteBuffer> local_subroutines;
float defaultWidthX = 0;
float nominalWidthX = 0;
bool is_cid_keyed = false;
int fdselect_offset = 0;
int fdarray_offset = 0;
};