Remove emoji test + panic!() format mistake
This commit is contained in:
parent
dc71971c39
commit
342e8b142e
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue