Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: tatelax on October 11, 2012, 06:24:09 PM

Title: Font Black on Build
Post by: tatelax on October 11, 2012, 06:24:09 PM
Hello,

I'm having a problem with my font. In the editor, the labels look normal, but when I build to my android device, the letters are just black boxes. Any ideas?

Thanks!
Title: Re: Font Black on Build
Post by: ArenMook on October 11, 2012, 09:37:51 PM
GLES 2.0 is required. GLES 1.1 = no shader support.
Title: Re: Font Black on Build
Post by: tatelax on November 01, 2012, 09:23:34 PM
I'm forcing armv7 and I still have this problem.
Title: Re: Font Black on Build
Post by: ArenMook on November 02, 2012, 02:48:33 AM
Are shaders being loaded and user properly? What shader is used by your font? Is it in a clipped panel? If it's in a clipped panel the shader can only be loaded if it's in the Resources folder.
Title: Re: Font Black on Build
Post by: tatelax on November 04, 2012, 06:23:24 PM
The problem is only on devices lower than iPhone 4S. So, any ideas on why it would work on iPhone 4S and iPhone 5?

Also the panel is not clipped. And when I use the graphic emulator it works fine.
Title: Re: Font Black on Build
Post by: tatelax on November 04, 2012, 09:04:14 PM
Ok I figured it out. The font was 4096x4096 which does not work on older devices. I changed it to 1024x1024 and it works now!