mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Fonts: the Japanese-menu glyph test skips without craft-fonts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
546a65f77a
commit
3491b99321
@@ -132,6 +132,10 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn japanese_glyphs_are_available_without_system_fonts() {
|
||||
if !vectorcraft_text::CRAFT_FONTS.iter().any(|f| f.is_japanese()) {
|
||||
eprintln!("skipped: built without craft-fonts (set CRAFT_FONTS_DIR to a craft-fonts checkout to run it)");
|
||||
return;
|
||||
}
|
||||
let ctx = egui::Context::default();
|
||||
crate::theme::install_fonts(&ctx);
|
||||
let mut output = ctx.run_ui(egui::RawInput::default(), |_| {});
|
||||
|
||||
Reference in New Issue
Block a user