mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:57:35 +00:00
LibPDF: Use subpixel accurate text rendering
This just enables the new tricks from LibGfx with the same nice improvements :^)
This commit is contained in:
parent
6632023498
commit
91db49f7b3
9 changed files with 24 additions and 18 deletions
|
@ -41,7 +41,7 @@ public:
|
|||
virtual u32 char_code_to_code_point(u16 char_code) const = 0;
|
||||
virtual float get_char_width(u16 char_code) const = 0;
|
||||
|
||||
virtual void draw_glyph(Gfx::Painter& painter, Gfx::IntPoint point, float width, u32 char_code, Color color) = 0;
|
||||
virtual void draw_glyph(Gfx::Painter& painter, Gfx::FloatPoint point, float width, u32 char_code, Color color) = 0;
|
||||
|
||||
virtual bool is_standard_font() const { return m_is_standard_font; }
|
||||
virtual Type type() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue