Remove emoji test + panic!() format mistake

This commit is contained in:
mars 2022-07-18 15:24:47 -06:00
parent dc71971c39
commit 342e8b142e
1 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ impl GlyphCache {
.push(CachedGlyph::new(self.units_per_em, &mut glyf, index));
}
} else {
panic!("no glyf or CFF table {:?}");
panic!("no glyf or CFF table");
}
}
@ -284,8 +284,8 @@ pub struct DummyText {
impl Default for DummyText {
fn default() -> Self {
let store = FontStore::new();
let text = "The quick brown fox jumps over the lazy dog. 🍑";
let font_families = ["mononoki", "Liberation Sans", "Ubuntu", "Noto Color Emoji"];
let text = "toki o! nimi mi li jan [_mun_alasa_sona]. toki+pona li pona.";
let font_families = ["mononoki", "Liberation Sans", "Ubuntu"];
let mut mesh = Self {
vertices: Vec::new(),