Author Topic: Font Missing Characters  (Read 1882 times)

tatelax

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Font Missing Characters
« on: October 06, 2012, 11:20:55 PM »
Hello,

I have a problem with the Font Maker. I created a PNG texture along with a text file using BM Font. Those both look fine, I can see the texture and all the letters look good. After I create the font and look at the atlas, I can see that some of the letters are cut in half, or not showing up at all. Here's a link to what it looks like in the scene :

http://imgur.com/qEESP

Thanks for your help!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Font Missing Characters
« Reply #1 on: October 07, 2012, 12:39:53 AM »
What size is the texture? Are you sure Unity didn't import it at a smaller size? If you exported it at 4096x4096, and are trying to import it on a mobile platform, Unity may be limiting it to 2048x2048 which breaks the import logic.

tatelax

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Font Missing Characters
« Reply #2 on: October 07, 2012, 10:21:41 AM »
I set the max size to 4096x4096 and then created the font, and I'm still having the same problem.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Font Missing Characters
« Reply #3 on: October 07, 2012, 07:28:26 PM »
It doesn't matter what you set the max size to. Unity overwrites the value based on the target platform. Furthermore, if you're putting this font into an atlas, there is going to be a 1 pixel of padding by default, causing the texture to bloat to 8192x8192.