1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-29 00:02:07 +00:00
serenity/Userland/Libraries/LibPDF/Fonts
Nico Weber cade76d240 LibPDF+LibGfx: Do not try to read "OS/2" table for PDFs
It is sometimes truncated in fonts embedded in PDFs, and the data
is not needed to render PDFs. 2 of my 1000 test PDFs used to
complain "Could not load OS2 v1: Not enough data" and 1
"Could not load OS2 v2: Not enough data" before.

Increases number of PDFs that render without diagnostics from
764 to 765 (and decreases the number of distinct error messages
from 27 to 25).
2024-02-21 13:38:33 +01:00
..
CFF.cpp LibPDF: Give CFF Glyph 0 the name .notdef 2024-02-20 06:54:50 -05:00
CFF.h LibPDF/CFF: Compute per-glyph glyph width in CID-keyed fonts 2024-02-16 12:41:10 -05:00
PDFFont.cpp LibPDF: Add some scaffolding for type 3 fonts 2023-11-17 19:47:53 +00:00
PDFFont.h LibPDF+LibGfx: Do not try to read "OS/2" table for PDFs 2024-02-21 13:38:33 +01:00
PS1FontProgram.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
PS1FontProgram.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SimpleFont.cpp LibPDF: Scale default glyph width by font size and x scale 2024-02-12 14:32:04 +00:00
SimpleFont.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TrueTypeFont.cpp LibPDF+LibGfx: Do not try to read "name" table for PDFs 2024-02-21 13:38:33 +01:00
TrueTypeFont.h LibPDF: Pass Renderer to SimpleFont::draw_glyph() 2023-11-17 19:47:53 +00:00
Type0Font.cpp LibPDF+LibGfx: Do not try to read "name" table for PDFs 2024-02-21 13:38:33 +01:00
Type0Font.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Type1Font.cpp LibPDF/CFF: Store if a font program is CID-keyed 2024-02-15 12:32:31 +01:00
Type1Font.h LibPDF: Pass Renderer to SimpleFont::draw_glyph() 2023-11-17 19:47:53 +00:00
Type1FontProgram.cpp LibPDF: Ignore unknown CFF operators 2024-02-18 08:40:04 +00:00
Type1FontProgram.h LibPDF/CFF: Store if a font program is CID-keyed 2024-02-15 12:32:31 +01:00
Type3Font.cpp LibPDF: Add an initial implementation of type 3 glyph rendering 2023-11-17 19:47:53 +00:00
Type3Font.h LibPDF: Pass Renderer to SimpleFont::draw_glyph() 2023-11-17 19:47:53 +00:00