I installed LÖVE in DietPi (Raspbian based) and I'm getting now some bleeding for fonts, specially noticeable in pixelated fonts:
Some more info:
* Using integer coordinates for the text
* I've tried this font in other places outside LÖVE and it works fine, so not the font (Proggy Clean)
* LÖVE was installed via retropie_setup.sh script (optional packages)
* Both 0.10.2 and 11.4 were tested
* I'm using a scaled canvas with nearest filtering (pixel-perfect scaling)
* This is Raspberry Pi 3b+
I'd give you the .love file but it won't work right away just like that (I'm building a RetroPie-based distro with LÖVE as the UI to run the games, so this was built to run in that context)
Thanks in advance for any tip!
EDIT: I'll try to upload the link to a .img file for the RB Pi, it should not be more than 1 GB compressed I think
[SOLVED] Small font "bleeding"
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- alberto_lara
- Party member
- Posts: 372
- Joined: Wed Oct 30, 2013 8:59 pm
[SOLVED] Small font "bleeding"
Last edited by alberto_lara on Tue Mar 16, 2021 3:48 pm, edited 1 time in total.
Re: Small font "bleeding"
I have the same problem too, some sizes are almost perfect, but other sizes are totally not sharp.
Re: Small font "bleeding"
If it's a pixellated font, maybe you can use Font:setFilter?
NB. To reproduce, I guess we would only need a very basic main.lua with lg.newFont, lg.setFont, and lg.print calls (and the font itself).
NB. To reproduce, I guess we would only need a very basic main.lua with lg.newFont, lg.setFont, and lg.print calls (and the font itself).
- alberto_lara
- Party member
- Posts: 372
- Joined: Wed Oct 30, 2013 8:59 pm
Re: Small font "bleeding"
Duh! I forgot fonts also have the filtering thing, that was it, thanks a lot!
I used
I used
Code: Select all
font:setFilter('nearest', 'nearest')
Who is online
Users browsing this forum: No registered users and 19 guests