![]() # Objective Adds information about the byte length and index of a glyph to `PositionedGlyph`. Useful for text picking, allows for picking with multi-byte characters. Also adds a `line` field that helps with converting back and forth from cosmic's `Cursor`. ## Solution Retrieve the relevant data from cosmic and add it to the glyph in the text pipeline. ## Testing `cargo r -p ci` --- ## Migration Guide `PositionedGlyph::new()` has been removed as there is no longer an unused field. Create new `PositionedGlyph`s directly. |
||
---|---|---|
.. | ||
bounds.rs | ||
error.rs | ||
FiraMono-subset.ttf | ||
font_atlas_set.rs | ||
font_atlas.rs | ||
font_loader.rs | ||
font.rs | ||
glyph.rs | ||
lib.rs | ||
pipeline.rs | ||
text2d.rs | ||
text_access.rs | ||
text.rs |