Implementation of line recognition in class TextMeasurer #202
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The algorithm would be slightly different as you can have multiple overlapping glyphs at the start of a line (emoji) but we capture the grapheme index so can still do what you want. I'd almost think that rather than simply exposing a Count we could actually expose a type containing a collection of font rectangles each representing a line. @tocsoft What do you think? We do have all that information captured I believe? |
Beta Was this translation helpful? Give feedback.
-
Hello, has anything been done here? And if so, which of the two approaches has been implemented? |
Beta Was this translation helpful? Give feedback.
The algorithm would be slightly different as you can have multiple overlapping glyphs at the start of a line (emoji) but we capture the grapheme index so can still do what you want.
I'd almost think that rather than simply exposing a Count we could actually expose a type containing a collection of font rectangles each representing a line.
@tocsoft What do you think? We do have all that information captured I believe?