mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibWeb: Make canvas text preparation handle multi-code point glyphs
This commit is contained in:
parent
cb04e4e9da
commit
3d7b13ac03
2 changed files with 18 additions and 9 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/String.h>
|
||||
#include <AK/Variant.h>
|
||||
#include <LibGfx/AffineTransform.h>
|
||||
#include <LibGfx/AntiAliasingPainter.h>
|
||||
|
@ -90,7 +91,7 @@ private:
|
|||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
struct PreparedTextGlyph {
|
||||
unsigned int c;
|
||||
String glyph;
|
||||
Gfx::IntPoint position;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue