Hey guys.
My app "Pixel-Me" is available for quite a while now and has been used several times successfully by various people. However, one user just came up with this:
The program and its window are opening (and working) correctly, but no text is visible.
Anyone ever experienced something like this before and has an idea, what might be causing this?
Love 11.1, Windows 10 used, packed executable, fonts embedded in the .exe, Text displayed using regular printf()
Thanks a lot,
Tassilo
Text not displayed for one particular user
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Text not displayed for one particular user
Not a single line of printf is being displayed to this user. It works fine for all others, so it seems to be something about love.
Lines of interest:
Lines of interest:
Code: Select all
love.graphics.setDefaultFilter("nearest","nearest",1)
font = love.graphics.newFont("fonts/font.ttf",8)
font:setFilter("nearest","nearest",1)
love.graphics.setFont(font)
function draw_button(text,x,y,width,height)
newtext = love.graphics.newText( font, text )
love.graphics.setColor(1, 1, 1, 1)
textwidth, textheight = newtext:getDimensions( )
love.graphics.setLineWidth(1)
love.graphics.rectangle('line', x+0.5, y+0.5, width, height)
love.graphics.print(text,x+((width-textwidth)/2),y+2)
end
Re: Text not displayed for one particular user
Yeah, right. You still need to post a love file or at least a code snippet that demonstrates the bug though, because the code you posted does absolutely nothing.
Re: Text not displayed for one particular user
Problem is, I cannot replicate the bug. Got the screenshot from a user experiencing it. The app is running perfectly fine on dozens of other machines.
User is reporting NO TEXT ever. App starts without, no text ever shows up. First time I heard of this and I had it running on several machines myself and know of dozens of users without problems.
My guess is, that it is somehow related to the user's system setup and one of you may have seen something similar before.
User is reporting NO TEXT ever. App starts without, no text ever shows up. First time I heard of this and I had it running on several machines myself and know of dozens of users without problems.
My guess is, that it is somehow related to the user's system setup and one of you may have seen something similar before.
Re: Text not displayed for one particular user
Are the user's graphics drivers up to date?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Text not displayed for one particular user
Good point! Will have him check that, thanks.
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Text not displayed for one particular user
Some threads and an issue that may or may not be relevant:
https://bitbucket.org/rude/love/issues/ ... -older-ati
viewtopic.php?f=4&t=85080
viewtopic.php?t=85309
I'd ask about their graphics card as well, not just whether the drivers are up to date or not. Seems like older ati radeons can't handle what Löve requires with version 11.
https://bitbucket.org/rude/love/issues/ ... -older-ati
viewtopic.php?f=4&t=85080
viewtopic.php?t=85309
I'd ask about their graphics card as well, not just whether the drivers are up to date or not. Seems like older ati radeons can't handle what Löve requires with version 11.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Text not displayed for one particular user
One user with the same problem and graphics card, reported that they had the latest drivers, so updating the driver is unfortunately not a solution. viewtopic.php?p=222533#p222533
Re: Text not displayed for one particular user
As it seems to be only related to text and not any other rendering my guess is, it's an issue with the glyph caching.
Using a bitmap font instead a ttf is probably the simplest solution for a quick fix.
http://www.angelcode.com/products/bmfont
https://github.com/libgdx/libgdx/wiki/Hiero
Using a bitmap font instead a ttf is probably the simplest solution for a quick fix.
http://www.angelcode.com/products/bmfont
https://github.com/libgdx/libgdx/wiki/Hiero
Who is online
Users browsing this forum: Ahrefs [Bot] and 4 guests