mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 11:45:08 +00:00
![]() 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. |
||
---|---|---|
.. | ||
CFF.cpp | ||
CFF.h | ||
PDFFont.cpp | ||
PDFFont.h | ||
PS1FontProgram.cpp | ||
PS1FontProgram.h | ||
SimpleFont.cpp | ||
SimpleFont.h | ||
TrueTypeFont.cpp | ||
TrueTypeFont.h | ||
Type0Font.cpp | ||
Type0Font.h | ||
Type1Font.cpp | ||
Type1Font.h | ||
Type1FontProgram.cpp | ||
Type1FontProgram.h |