love.graphics.print not printing to screen!

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Master Thief
Prole
Posts: 8
Joined: Wed Jun 13, 2018 3:39 pm

Re: love.graphics.print not printing to screen!

Post by Master Thief » Mon Jul 16, 2018 6:42 am

I also have an old ATI Radeon (4800 I think, I can check if needed) and I'm having the same issue. It's probably something to do with ATIs (likely the old ones). My drivers are as up to date as they can be, since there hasn't been any updates for them in about half a decade.

I tested with older versions of love2d and they all print text perfectly fine up to 10.2. Version 11.0 is the one where that stops working for me.
"You can't find LÖVE in the dictionary." -- Daniel Dennett

dudeMan
Prole
Posts: 6
Joined: Mon Jun 04, 2018 7:02 am

Re: love.graphics.print not printing to screen!

Post by dudeMan » Sun Jul 22, 2018 5:33 pm

decided to post my fix I used pre my new graphics card. Its not perfect and the sprite sheet could be better but it works.
https://github.com/PhilMo6/love2dPrintWorkaround
This uses anim8 to split an alphanumeric sprite sheet into quads and creates a print function that then draws the correct quads to the screen.

skaruts
Prole
Posts: 1
Joined: Tue Jun 12, 2018 11:20 pm

Re: love.graphics.print not printing to screen!

Post by skaruts » Fri Feb 22, 2019 7:06 am

dudeMan wrote:
Sun Jul 22, 2018 5:33 pm
decided to post my fix I used pre my new graphics card. Its not perfect and the sprite sheet could be better but it works.
https://github.com/PhilMo6/love2dPrintWorkaround
This uses anim8 to split an alphanumeric sprite sheet into quads and creates a print function that then draws the correct quads to the screen.
The biggest problem with not having text is that I can't see the error messages on the screen. In my own projects I can use the stdout, but I was trying out RotLOVE but without text on the screen I can't tell why the examples aren't running and all that, since they aren't configured to use stdout.

So for me that solution doesn't help much, unfortunately. Thanks for sharing though. Might be helpful to someone else.

bobbyjones
Party member
Posts: 696
Joined: Sat Apr 26, 2014 7:46 pm

Re: love.graphics.print not printing to screen!

Post by bobbyjones » Fri Feb 22, 2019 1:51 pm

skaruts wrote:
Fri Feb 22, 2019 7:06 am
dudeMan wrote:
Sun Jul 22, 2018 5:33 pm
decided to post my fix I used pre my new graphics card. Its not perfect and the sprite sheet could be better but it works.
https://github.com/PhilMo6/love2dPrintWorkaround
This uses anim8 to split an alphanumeric sprite sheet into quads and creates a print function that then draws the correct quads to the screen.
The biggest problem with not having text is that I can't see the error messages on the screen. In my own projects I can use the stdout, but I was trying out RotLOVE but without text on the screen I can't tell why the examples aren't running and all that, since they aren't configured to use stdout.

So for me that solution doesn't help much, unfortunately. Thanks for sharing though. Might be helpful to someone else.
You can edit the error handler to make it use an alternative print function. You can also replace the love.graphics.print function as well. Both should result in errors being printed.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 8 guests