Skip to content

Fixing issues in text size when DPI scale is different on an Android device#34

Open
badduck32 wants to merge 5 commits into
gustavostuff:masterfrom
badduck32:master
Open

Fixing issues in text size when DPI scale is different on an Android device#34
badduck32 wants to merge 5 commits into
gustavostuff:masterfrom
badduck32:master

Conversation

@badduck32

Copy link
Copy Markdown

I noticed that the textsized changed a lot when comparing my phone to my laptop, both running the same code. I made a fix that changes each occurence of love.window.toPixels(n) to just n, which fixed it on my device. I think this is because of some API changes in love 11.0.

I haven't thoroughly tested it but it works fine on my device last time I checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants