diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-07-11 06:25:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 04:25:38 +0000 |
commit | 4907e896560dd68bfcd9318b4493de10d7ceee19 (patch) | |
tree | 9af64c74ca7fcd240bba12e6cd8841db31ddfccb /components/script/dom/webidls/HTMLBaseElement.webidl | |
parent | c6cb7ee98169ce1acb3b43b5071385d8f4f4adc2 (diff) | |
download | servo-4907e896560dd68bfcd9318b4493de10d7ceee19.tar.gz servo-4907e896560dd68bfcd9318b4493de10d7ceee19.zip |
canvas: Remove as much usage of `font-kit` as possible (#32758)
Do font selection using Servo's font backend, which is shared with the
rest of layout. In addition, delay the creation of the `font-kit` font
until just before rendering with `raqote`. The idea is that when
`raqote` is no longer used, we can drop the `font-kit` dependency.
This change has the side-effect of fixing text rendering in canvas,
adding support for font fallback in canvas, and also correcting a bug in
font selection with size overrides.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Diffstat (limited to 'components/script/dom/webidls/HTMLBaseElement.webidl')
0 files changed, 0 insertions, 0 deletions