1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 16:15:08 +00:00
serenity/Userland/Libraries/LibPDF/Fonts
Nico Weber 349996f7f2 LibPDF: Don't crash on files with float CFF defaultWidthX
We'd unconditionally get the int from a Variant<int, float> here,
but PDFs often have a float for defaultWidthX and nominalWidthX.

Fixes crash opening Bakke2010a.pdf from pdffiles (but while the
file loads ok, it looks completely busted).
2023-10-12 19:43:57 +02:00
..
CFF.cpp LibPDF: Don't crash on files with float CFF defaultWidthX 2023-10-12 19:43:57 +02:00
CFF.h LibPDF: Don't crash on files with float CFF defaultWidthX 2023-10-12 19:43:57 +02:00
PDFFont.cpp LibGfx: Convert FontDatabase APIs to use FlyString 2023-09-06 11:29:03 -04:00
PDFFont.h LibPDF: Don't ignore word_spacing 2023-07-22 12:24:29 -04:00
PS1FontProgram.cpp LibGfx: Use AntiAliasingPainter::fill_path() for drawing font glyphs 2023-07-10 20:56:25 +02:00
PS1FontProgram.h LibPDF: Remove declarations for non-existent methods 2023-01-27 20:33:18 +00:00
SimpleFont.cpp LibPDF: Don't ignore word_spacing 2023-07-22 12:24:29 -04:00
SimpleFont.h LibPDF: Don't ignore word_spacing 2023-07-22 12:24:29 -04:00
TrueTypeFont.cpp LibPDF: Resize fonts when the text and line matrices change 2023-07-20 06:56:41 +01:00
TrueTypeFont.h LibPDF: Resize fonts when the text and line matrices change 2023-07-20 06:56:41 +01:00
Type0Font.cpp LibPDF: Add FIXME for CIDFontType2 creation 2023-08-14 16:26:09 +02:00
Type0Font.h LibPDF: Sketch out Type0 font support some more 2023-07-25 12:10:36 +02:00
Type1Font.cpp LibPDF: Include width in Type1Font glyph cache key 2023-07-21 07:01:09 +02:00
Type1Font.h LibPDF: Include width in Type1Font glyph cache key 2023-07-21 07:01:09 +02:00
Type1FontProgram.cpp LibGfx: Use AntiAliasingPainter::fill_path() for drawing font glyphs 2023-07-10 20:56:25 +02:00
Type1FontProgram.h LibPDF: Increase argument stack for Type1FontPrograms 2023-03-02 12:18:53 +01:00