Author Topic: Font Black on Build  (Read 3957 times)

tatelax

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Font Black on Build
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Font Black on Build
« Reply #1 on: October 11, 2012, 09:37:51 PM »
GLES 2.0 is required. GLES 1.1 = no shader support.

tatelax

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Font Black on Build
« Reply #2 on: November 01, 2012, 09:23:34 PM »
I'm forcing armv7 and I still have this problem.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Font Black on Build
« Reply #3 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.

tatelax

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Font Black on Build
« Reply #4 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.
« Last Edit: November 04, 2012, 06:47:40 PM by tatelax »

tatelax

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Font Black on Build
« Reply #5 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!