You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using 0.12 in iced, the .start/.end values seem to keep resetting for a common run like: "0 Asset tooth 0".
The glyphs won't point to the correct span in the original line.
The text was updated successfully, but these errors were encountered:
I ran into the same problem; Buffer::layout_cursor was always returning a fallback value, because start and end values of the LayoutGlyphs from the Buffer were wrong, as if they were relative to the beginning of words or spans of whitespace, e.g. the string "Hello world" produced LayoutGlyph::start values like so: 0 1 2 3 4 0 0 1 2 3 4.
Changing the Shaping from Basic to Advanced seems to avoid the bug.
Using 0.12 in iced, the .start/.end values seem to keep resetting for a common run like: "0 Asset tooth 0".
The glyphs won't point to the correct span in the original line.
The text was updated successfully, but these errors were encountered: