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
localfont=playdate.graphics.font.new("fonts/font-rains-1x")
localwidth=font:getTextWidth("Lorem ipsum dolor sit amet, consectetur")
print(width)
Playdate = 311
Love2D = 312
I believe this is an issue in Love2d where that it appends some extra padding from getWidth(str). Need to find a way to control this, or come up with some hacky workaround...
The text was updated successfully, but these errors were encountered:
Using the Rains-1x font from the SDK:
I believe this is an issue in Love2d where that it appends some extra padding from getWidth(str). Need to find a way to control this, or come up with some hacky workaround...
The text was updated successfully, but these errors were encountered: