Author Topic: FontMaker loosing Font Info  (Read 8112 times)

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
FontMaker loosing Font Info
« on: February 19, 2015, 08:44:22 AM »
Hi,
I have a problem with the FontMaker and GeneratedBitmap option.
Every time I create an UIFont from a Font, it works well.
But if I close Unity or compile, UIFont don't know anymore where the characters are in the Bitmap.

I'm able to reproduce it in my 2 projects.

Simple to reproduce:

1/ Download any TTF you want
2/ Generate Bitmap with FontMaker with this TTF
3/Create UILabel, affect UIFont
4/Right now, everything should be ok.
5/Close Unity
6/Launch Unity
7/UILabel is displaying parts of characters, UIFont lost characters infos.

Can you fix that?

EDIT: Using 3.7.9 on Unity 4.5.5p5
« Last Edit: February 19, 2015, 10:00:01 AM by r.pedra »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: FontMaker loosing Font Info
« Reply #1 on: February 19, 2015, 02:11:31 PM »
I followed your instructions and everything works fine on my end.

1. I have the font TTF in the project.
2. Opened the Font Maker, chose the TTF, hit Create the Font (not putting it into an atlas).
3. ALT_SHIFT_L, label shows up using the font.
4. Closed Unity, didn't even bother saving anything.
5. Opened Unity, ALT+SHIFT+L, same font get used, everything shows up properly.

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
Re: FontMaker loosing Font Info
« Reply #2 on: February 20, 2015, 04:31:25 AM »
Damn that's so weird...
I have the "Verify Saving Assets" option checked, and if I replace the prefab, it never shows up in it.
I will try to update NGUI in case of