1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00
serenity/Userland
Nico Weber dde11e1757 LibPDF: Ignore unknown CFF operators
https://adobe-type-tools.github.io/font-tech-notes/pdfs/5177.Type2.pdf
says "The behavior of undefined operators is unspecified." but
https://learn.microsoft.com/en-us/typography/opentype/spec/cff2
says "When an unrecognized operator is encountered, it is ignored and
the stack is cleared."

Some type 0 CIDFontType0C fonts (i.e. CID-keyed non-OpenType CFF fonts)
depend on the latter, even though they're governed by the former spec.

Fixes rendering of text in 0000521.pdf (e.g. page 10 or 5). The font
there has a bunch of 0 opcodes for some reason.
2024-02-18 08:40:04 +00:00
..
Applets ClipboardHistory: Be more careful about the history limit 2024-02-08 13:46:12 +00:00
Applications Userland: Use MUST() to unwrap String values 2024-02-14 17:46:06 -05:00
BuggieBox checksum: Add support for BLAKE2b 2023-09-17 16:49:35 +03:30
Demos Userland: Propagate errors with TRY() where possible 2024-02-14 17:46:06 -05:00
DevTools Userland: Propagate errors with TRY() where possible 2024-02-14 17:46:06 -05:00
DynamicLoader LibC: Separate arch dependent fenv functions 2024-01-22 20:06:09 -07:00
Games BrickGame: Make action shortcuts work when the game is paused 2024-02-11 21:13:06 +00:00
Libraries LibPDF: Ignore unknown CFF operators 2024-02-18 08:40:04 +00:00
Services Userland: Propagate errors with TRY() where possible 2024-02-14 17:46:06 -05:00
Shell Shell: Don't escape display/trailing texts when completing via programs 2024-02-07 00:43:11 +01:00
Utilities LibWeb: Only dump layout and text tree for the desired URL 2024-02-16 15:05:30 +01:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00