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
Originally posted by m4rvr May 21, 2023
Hey! I'm manually getting the width of letters/words within the whole text, but once I add a letterSpacing, the size of the space literally never changes and always stays at the number of 9.27557373046875 (or very similar).
Is this intended, because without the space it's impossible to get the correct size?
Thanks!
The text was updated successfully, but these errors were encountered:
lojjic
changed the title
troika-three-text: Does getSelectionRects respect letterSpacing of spaces?
troika-three-text: Carets/selections don't respect letterSpacingMay 21, 2023
Discussed in #258
Originally posted by m4rvr May 21, 2023
Hey! I'm manually getting the width of letters/words within the whole text, but once I add a
letterSpacing
, the size of the space literally never changes and always stays at the number of9.27557373046875
(or very similar).Letter spacing tests:
0.2 → 9.27557373046875
0 → 9.275566101074219
0.5 → 9.27557373046875
Is this intended, because without the space it's impossible to get the correct size?
Thanks!
The text was updated successfully, but these errors were encountered: