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
I am looking for a way to access the fontmetrics of a font in such a way that I can determine the width , height and baseline of a specific string. For context, this is for a mathematical interactive application that I am porting from Java to Rust.
One possibility would be to use cosmic text directly, but perhaps there is a more idiomatic bevy way ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am looking for a way to access the fontmetrics of a font in such a way that I can determine the width , height and baseline of a specific string. For context, this is for a mathematical interactive application that I am porting from Java to Rust.
One possibility would be to use cosmic text directly, but perhaps there is a more idiomatic bevy way ?
Beta Was this translation helpful? Give feedback.
All reactions