Author Topic: Font Creation Guide  (Read 3194 times)

RandomGuy

  • Guest
Font Creation Guide
« on: November 12, 2012, 09:31:55 PM »
Is their a written tutorial for the font creation . I've owned NGUI for a few months and I've been unable to create a new font .
I've seen the video on it , but I really need something written down since I'm sure i'm missing a step .

JumpDog

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 13
    • View Profile
Re: Font Creation Guide
« Reply #1 on: November 12, 2012, 09:47:26 PM »
1) Download BMFont here: http://www.angelcode.com/products/bmfont/

2) Open BMFont
    Go to Options > Font Settings.
        Select the font you want to use.
        Select the size you want it to produce.
    Go to Options > Export Options.
        Select the texture width and height you want it to produce (this doesn't mean it'll fit, this means if it goes over, it will produce a second image with the rest of the font. You can use Options > Visualize to see how it'll fit.).
        Under Presets choose White text with alpha.
        Set Textures to tga - Targa.
        Set Bit depth to 32.
    Click on every character you want to be in the font file, selected ones will be highlighted. You can also click-drag to paint a selection.
    Options > save Bitmap font as...
    You should have a .tga and a .fnt file. Replace the extension of the .fnt with .txt.

3) Open Unity.
    Go to NGUI > Font Maker.
        Place the .txt file into Font Data.
        Place the .tga file into Texture slot.

Name your font and choose what atlas to put it into.
Now you can use the font.
« Last Edit: November 12, 2012, 09:58:28 PM by JumpDog »

pretender

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 155
    • View Profile
Re: Font Creation Guide
« Reply #2 on: November 13, 2012, 02:47:25 AM »
If you want to give some effects to the font like shadows in photoshop make sure you use png, and do not forget to add spacing around the latters