1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Update to skrifa 0.42.1 (#8187)

This commit is contained in:
Emil Ernerfeldt
2026-05-22 12:07:37 +02:00
committed by GitHub
parent c4599a7340
commit ac2496318f
3 changed files with 62 additions and 39 deletions

View File

@@ -240,7 +240,8 @@ impl FontCell {
ctx.set_paint(color::OpaqueColor::<color::Srgb>::WHITE);
ctx.fill_path(&path);
let mut dest = vello_cpu::Pixmap::new(width, height);
ctx.render_to_pixmap(&mut dest);
let mut resources = vello_cpu::Resources::new();
ctx.render_to_pixmap(&mut resources, &mut dest);
let uv_rect = if width == 0 || height == 0 {
UvRect::default()
} else {