mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
cjk is not in the small font set, substitute Tall for that target
This commit is contained in:
parent
f06ceea5e1
commit
39fb11457f
1 changed files with 8 additions and 2 deletions
|
|
@ -234,8 +234,14 @@ impl Typesetter {
|
||||||
space.kern = 0;
|
space.kern = 0;
|
||||||
let mut ellipsis = style_glyph('…', base_style);
|
let mut ellipsis = style_glyph('…', base_style);
|
||||||
ellipsis.kern = 0;
|
ellipsis.kern = 0;
|
||||||
let mut large_space = style_glyph(' ', &GlyphStyle::Cjk);
|
|
||||||
large_space.wide = glyph_to_height_hint(GlyphStyle::Cjk) as u8;
|
#[cfg(feature = "cramium-soc")]
|
||||||
|
let base_style = GlyphStyle::Tall;
|
||||||
|
#[cfg(not(feature = "cramium-soc"))]
|
||||||
|
let base_style = GlyphStyle::Cjk;
|
||||||
|
|
||||||
|
let mut large_space = style_glyph(' ', &base_style);
|
||||||
|
large_space.wide = glyph_to_height_hint(base_style) as u8;
|
||||||
Typesetter {
|
Typesetter {
|
||||||
charpos: 0,
|
charpos: 0,
|
||||||
cursor: Cursor::new(0, 0, 0),
|
cursor: Cursor::new(0, 0, 0),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue