documents: measuring and export load gpui's bundled faces and map generic families as it does
CI / platforms (windows-latest) (push) Failing after 11s
CI / site (push) Successful in 25s
CI / crate (push) Failing after 11m33s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-12 12:45:21 -04:00
1 parent e0b4e29ef3
commit 58227cdc2f
2 files changed
+43 -3

No files matched your search

+2 -1
View File
@@ -224,7 +224,8 @@ fn drawn_fallback_text_stays_inside_the_frame() {
let pixels = image.as_bytes(0).expect("pixels");
pixels.chunks_exact(4).filter(|pixel| pixel[3] > 16).count()
};
for source in [r"\text{中文}", r"\text{한글}"] {
// The last is in gpui's bundled IBM Plex Sans alone.
for source in [r"\text{中文}", r"\text{한글}", "\\text{\u{ECE0}}"] {
let (svg, _) = svg(&formula(source, false)).expect("typesets");
let tree = usvg::roxmltree::Document::parse(&svg).expect("xml");
let view: Vec<f32> = tree