Skip to content

Implementation of line recognition in class TextMeasurer #202

Discussion options

You must be logged in to vote

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?

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@tocsoft
Comment options

@ANahr
Comment options

Answer selected by JimBobSquarePants
Comment options

You must be logged in to vote
1 reply
@JimBobSquarePants
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants