ladybird/Userland
Nico Weber 78b3c552c2 LibGfx: Tweak semantics of some SkipTables enum values
It turns out that hmtx and OS/2 table values _are_ used when
rendering OpenType for PDFs: hmtx is used for the left-side bearing
value (which is read in `Painter::draw_glyph()`), and OS/2 is used
for the ascender, which Type0's CIDFontType2::draw_glyph()
and TrueTypeFont::draw_glyph() read.

So instead of not trying to read these tables, instead try to read
them but tolerate them failing to read and ignore them then.

Follow-up to #23276.

(I've seen weird glyph positioning from not reading the hmtx table.
I haven't seen any problems caused by not reading the OS/2 table yet,
but since the PDF code does use the ascender value, let's read that
too.)
2024-02-21 19:52:03 +01:00
..
Applets ClipboardHistory: Be more careful about the history limit 2024-02-08 13:46:12 +00:00
Applications ImageViewer: Transform the image's dimension accordingly to the metadata 2024-02-21 08:31:17 +00: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 FlappyBug: Allow shortcuts for quitting and help 2024-02-19 00:09:34 +01:00
Libraries LibGfx: Tweak semantics of some SkipTables enum values 2024-02-21 19:52:03 +01:00
Services ImageViewer: Transform the image's dimension accordingly to the metadata 2024-02-21 08:31:17 +00:00
Shell Shell: Don't escape display/trailing texts when completing via programs 2024-02-07 00:43:11 +01:00
Utilities Everywhere: Prefer {:#x} over 0x{:x} in format strings 2024-02-21 17:54:38 +01:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00