mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
it's not a flaming mess anymore, but still a lot more tuning to do
This commit is contained in:
parent
13b7d73ce9
commit
0677753680
2 changed files with 3 additions and 3 deletions
|
|
@ -268,13 +268,13 @@ impl Typesetter {
|
||||||
self.cursor
|
self.cursor
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if self.bb.max.y - self.bb.min.y < glyph_to_height_hint(GlyphStyle::Regular) {
|
/*if self.bb.max.y - self.bb.min.y < glyph_to_height_hint(GlyphStyle::Regular) {
|
||||||
log::error!("Words cannot be typset because the height of the typset region is too low.");
|
log::error!("Words cannot be typset because the height of the typset region is too low.");
|
||||||
return ComposedType::new(composition,
|
return ComposedType::new(composition,
|
||||||
ClipRect::new(self.bb.min.x, self.bb.min.y, self.bb.min.x, self.bb.min.y),
|
ClipRect::new(self.bb.min.x, self.bb.min.y, self.bb.min.x, self.bb.min.y),
|
||||||
self.cursor
|
self.cursor
|
||||||
);
|
);
|
||||||
}
|
}*/
|
||||||
// algorithm:
|
// algorithm:
|
||||||
// - If not a whitespace or newline:
|
// - If not a whitespace or newline:
|
||||||
// 1. append a character to the current word (candidate)
|
// 1. append a character to the current word (candidate)
|
||||||
|
|
|
||||||
|
|
@ -24,4 +24,4 @@ utralib = { path = "../../utralib"}
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
ux_tests = []
|
ux_tests = []
|
||||||
default = ["ux_tests"]
|
default = []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue