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
In the latest versions of LÖVE, I noticed that the value of getWidth depends on usedpiscale, and it differs from previous versions of LÖVE. An example and results are shown below:
What platform and love version are you using? love 12 supports app-aware DPI scaling on Windows, whereas love 11 and older don't (the app's backbuffer is scaled up instead by the operating system, in love 11 on Windows when the display's DPI scale is not 100%).
slime73
changed the title
getWidth behavior depends on usedpiscale
Font:getWidth behavior depends on usedpiscale
Mar 22, 2025
In the latest versions of LÖVE, I noticed that the value of
getWidth
depends onusedpiscale
, and it differs from previous versions of LÖVE. An example and results are shown below:-- usedpiscale = true
Width: 23
Tes
t
Width: 30
Hello
-- usedpiscale = false
Width: 23
Test
Width: 29
Hello
The text was updated successfully, but these errors were encountered: