mirror of
https://github.com/servo/servo.git
synced 2025-06-14 19:34:29 +00:00
Thread font load errors from platform font loading code to FontContext::get_layout_font_group_for_style, and cache the failure result, instead of panicing the thread when a font fails to load. Before this patch, a failed font load would panic a LayoutTask, causing a cascade of panics, eventually aborting the whole engine during a panic within panic. |
||
---|---|---|
.. | ||
display_list | ||
platform | ||
text | ||
buffer_map.rs | ||
Cargo.toml | ||
color.rs | ||
filters.rs | ||
font.rs | ||
font_cache_task.rs | ||
font_context.rs | ||
font_template.rs | ||
lib.rs | ||
paint_context.rs | ||
paint_task.rs |