Font conversion tool for Mac

Has anyone found a Font Conversion tool for OSX? BMFont is windows only and a Google search only turned up FontForge which has an option to export png fonts, but the option is always greyed out. Would be a shame if the only way to create appropriate fonts is on Windows.
  • Former Member
    Former Member over 10 years ago
    If you're prepared to do the work you can create whatever fonts and icons you want. You just need to create a white on black bmp/png file with the characters mapped out in a .fnt file. Below is an example of an 24px A-Z font I have created. The maps are larger than the characters for character spacing.
    - Seems to me that you must have no less than 12 sequential char id's. I think this is a CIQ limitation.
    - You should create a filter in the resource file when you load your font. The characters are mapped to their ascii number.
    - Info on the .fnt file can be found here
    - If I remember rightly then the values CIQ is interested in are [file="ingram24b.png"] because that points to the image file, and [char id=65 x=1 y=2 width=21 height=26] because they map the image that will be used by CIQ.
    info face="ingram" size=26 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=0,0 outline=0
    common lineHeight=24 base=24 scaleW=256 scaleH=54 pages=1 packed=0 alphaChnl=0 redChnl=3 greenChnl=3 blueChnl=3
    page id=0 file="ingram24b.png"
    chars count=29
    char id=65 x=1 y=2 width=21 height=26 xoffset=0 yoffset=0 xadvance=21 page=0 chnl=15
    char id=66 x=22 y=2 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=67 x=40 y=2 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=68 x=58 y=2 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=69 x=76 y=2 width=16 height=26 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=15
    char id=70 x=92 y=2 width=16 height=26 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=15
    char id=71 x=108 y=2 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=72 x=126 y=2 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=73 x=145 y=2 width=7 height=26 xoffset=0 yoffset=0 xadvance=7 page=0 chnl=15
    char id=74 x=153 y=2 width=17 height=26 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15
    char id=75 x=170 y=2 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=76 x=188 y=2 width=15 height=26 xoffset=0 yoffset=0 xadvance=15 page=0 chnl=15
    char id=77 x=204 y=2 width=25 height=26 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15
    char id=78 x=229 y=2 width=19 height=26 xoffset=0 yoffset=0 xadvance=19 page=0 chnl=15
    char id=79 x=1 y=28 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=80 x=19 y=28 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=81 x=37 y=28 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=82 x=55 y=28 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=83 x=73 y=28 width=18 height=26 xoffset=0 yoffset=0 xadvance=19 page=0 chnl=15
    char id=84 x=91 y=28 width=19 height=26 xoffset=0 yoffset=0 xadvance=19 page=0 chnl=15
    char id=85 x=110 y=28 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15
    char id=86 x=129 y=28 width=17 height=26 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15
    char id=87 x=147 y=28 width=27 height=26 xoffset=0 yoffset=0 xadvance=27 page=0 chnl=15
    char id=88 x=175 y=28 width=17 height=26 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15
    char id=89 x=194 y=28 width=17 height=26 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15
    char id=90 x=212 y=28 width=18 height=26 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15


    I hadn't bother to tweak all the settings, check that size=26 shouldn't be size=24, try removing the [xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15], etc... I imagine you could tidy this up some more and also save a few more bytes.
  • Has anyone found a Font Conversion tool for OSX? BMFont is windows only and a Google search only turned up FontForge which has an option to export png fonts, but the option is always greyed out. Would be a shame if the only way to create appropriate fonts is on Windows.


    Drop me a PM, I use BMPFont on Mac, I simply wrapped it with Wineskin. So it runs 'natively' in a small windows VM on Mac! Hells yeah...
  • web option

    Actually I found a great option a web based conversion tool.
    http://kvazars.com/littera/