1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 11:45:08 +00:00
serenity/Userland/Libraries/LibPDF/Fonts
Nico Weber 9283c939bb LibPDF: Include width in Type1Font glyph cache key
LibGfx's ScaledFont doesn't do this, but in ScaledFont m_x_scale and
m_y_scale are immutable once the class is created, so it can get away
with not doing it.

In Type1Font, `width` changes in different calls to
Type1Font::draw_glyph(), so we need to make it part of the cache key.

Fixes rendering of the word "Version" on the first page of
pdf_reference_1-7.pdf.
2023-07-21 07:01:09 +02:00
..
CFF.cpp Everywhere: Fix a few typos 2023-04-12 19:37:35 +02:00
CFF.h LibPDF: Add more built-in SIDs 2023-02-13 00:23:17 +00:00
PDFFont.cpp LibPDF: Actually return an error when failing to load replacement fonts 2023-03-25 16:27:30 -06:00
PDFFont.h LibPDF: Resize fonts when the text and line matrices change 2023-07-20 06:56:41 +01: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: Remove an unused variable 2023-07-12 19:02:56 +02:00
SimpleFont.h LibPDF: Ask OpenType font programs for glyph widths if needed 2023-03-25 16:27:30 -06: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: Resize fonts when the text and line matrices change 2023-07-20 06:56:41 +01:00
Type0Font.h LibPDF: Resize fonts when the text and line matrices change 2023-07-20 06:56:41 +01: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