NGalynker / libgdx-users

Automatically exported from code.google.com/p/libgdx-users
0 stars 0 forks source link

Some fonts in 0.96 rendering as solid white blocks #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I upgraded my project from 0.93 to 0.96.  This bug does not appear using 
libgdx version 0.93.  I then down-graded to 0.94 which also appears to work 
fine.
2. I have a very simple UI so far, implemented with just a couple 9-patches and 
two fonts in the skin with styles only for Labels and Buttons.  I'm including 
the skin and font files with this bug report.
3. After upgrading to 0.96, several UI elements render their fonts as solid 
white blocks instead of the expected letters.  I have discovered little rhyme 
or reason as to which fonts or styles cause this problem, and once I observed a 
UI element change during run from rendering fine to rendering as white blocks.  
Generally though it seems the same elements are broken or not broken from run 
to run.
4. While this looks to my eye to be a blending error, note that the 9-patches 
include semi-transparent sections that render fine.  Which could just mean that 
the blending error is specific to BitmapFonts, I'm not sure.

What is the expected output? What do you see instead?
I'd expect to see letters instead of solid white blocks.

What version of the product are you using? On what operating system?
libgdx: 0.96 (same code with 0.93 and 0.94 works fine)
backend: lwjgl
OS: Windows 7 64-bit

Please provide any additional information below.
I will try to put together some sample code soon that displays the error.  In 
the meantime if there's any other information I can share or tests I can run to 
help, please let me know.

Original issue reported on code.google.com by therealp...@gmail.com on 29 Jul 2012 at 10:13

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, meant to report this to the main project, not libgdx-users.  Can't seem 
to find a way to delete this.

Original comment by therealp...@gmail.com on 30 Jul 2012 at 10:07

GoogleCodeExporter commented 9 years ago
FYI, officially tracked here now: 
http://code.google.com/p/libgdx/issues/detail?id=980

Original comment by therealp...@gmail.com on 31 Jul 2012 at 11:52