slint/internal/core/textlayout
Olivier Goffart 318bb5a56c MCU: Fix width of the text not including whitespaces
When concatenating two fragment, we should account for the trailing whitespace
in the previous fragment in the total width.

This fixes the "l" of "Ink level" not beoing drawn properly in the printer
demo with the partial renderer if the Text item (which is too small as a result
of this bug) does not overlap the dirty region, but part of the text still
need to be drawn outside before it overflows
2022-06-17 12:08:45 +02:00
..
fragments.rs text handling: clean up font traits 2022-05-16 08:21:14 +02:00
glyphclusters.rs text handling: cleanup 2022-05-16 08:21:14 +02:00
linebreak_simple.rs Make the line break iterators implement Clone 2022-05-13 17:33:01 +02:00
linebreak_unicode.rs Make the line break iterators implement Clone 2022-05-13 17:33:01 +02:00
linebreaker.rs MCU: Fix width of the text not including whitespaces 2022-06-17 12:08:45 +02:00
shaping.rs text handling: clean up font traits 2022-05-16 08:21:14 +02:00