Author Topic: Multiple Font issue  (Read 2059 times)

rav3n256

  • Guest
Multiple Font issue
« on: October 03, 2012, 03:24:33 PM »
I've been struggling with fonts for a little while, so I'm hoping for some help.  I've got 3 custom fonts and I'm trying to put them all in a single font atlas.  I have the fonts paired with it's appropriate text file.  I'm able to successfully create the first font in an atlas using the Font Maker tool, but when I repeat the process again with the same atlas, it throws this error "Font 'something' must be created with only 1 texture, not 2".  From my readings, I can put all the fonts in 1 atlas, but must have multiple UIFont prefabs to use the UILabel.  If this is wrong, please tell me. Any suggestions.

mtoivo

  • Guest
Re: Multiple Font issue
« Reply #1 on: October 03, 2012, 05:24:37 PM »
Just to check out the process, had some issues there too when started using NGUI.
In Font Maker:
- Drag the correct .txt to the Font Data -field
- Drag corresponding png to the Texture -field
- In Output, change to font name to represent the font you're importing. NGUI doesn't change to font name for you, and I suppose this is what you might have forgotten after importing the first font