Results 1 to 2 of 2

Thread: I'm not on Windows, how do I do fonts!?

  1. #1
    Lesser Knight
    Join Date
    Jan 2012
    Location
    Finland
    Posts
    31

    Default I'm not on Windows, how do I do fonts!?

    Although there's a question mark in the subject this post is actually a potential answer to that question.

    My development platform is Linux.

    On wiki there are some instructions how to make your own bitmap fonts that can be used with Proton. That documentation uses AngelCode's Bitmap Font Generator which is probably a fine tool (at least it's referenced multiple times in various places in the internet) but the downside of it is that it's a Windows program. I thought to try out running BMFont via Wine but didn't go that route in the end. Later on I read that it might not have been that easy anyway.

    So I went out for a quest to find a similar application that could be run on Linux too. From StackExchange I found a multitude of suggestions. Long story short, I settled for FontBuilder which is quite a new project. It uses Qt and I guess it's quite cross platform. Building it on Linux was a breeze. In no time I had it running.

    FontBuilder is a bit rough on the edges. But it's open source so it's easy to enhance it if needed

    FontBuilder has a multitude of formats it can output the font data. I found out that the strangely named output format Sparrow (a reference to the Sparrow framework) is actually the same what BMFont outputs as its XML format. Since RTPack already knows how to read the raw text format of BMFont I figured that it can't be too far away from reading the XML format as well. The formats are actually quite close to each other syntactically.

    So I went on and implemented BMFont XML format parsing to RTPack. It's in the svn already. It might not be too robust if you give it invalid XML files but it should handle valid XML files just fine.

    PS. the compiled version of RTPack for Windows in the svn doesn't yet have this feature since I can't update that binary. I guess Seth needs to do that.
    Founder, owner and pretty much everything else at
    Second Lion Ltd.

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    4,224

    Default

    Cool, sounds good! I'll update the Windows .exe when I get a chance.
    Seth A. Robinson
    Robinson Technologies

Similar Threads

  1. Windows app crashing on Maximize (Windows XP)
    By BigBMan in forum Proton SDK
    Replies: 8
    Last Post: 03-17-2011, 01:38 AM
  2. Linux fonts [0.9]
    By kbluck in forum ClanLib: Developer Chat
    Replies: 10
    Last Post: 09-25-2008, 11:48 AM
  3. my fonts are really grainy
    By babyvegas in forum ClanLib: Help
    Replies: 4
    Last Post: 07-11-2008, 04:07 PM
  4. ClanLib gui and fonts
    By LonelyStar in forum ClanLib: Help
    Replies: 1
    Last Post: 04-28-2008, 07:52 AM
  5. Fonts & Graphics
    By AllenJB in forum Game development
    Replies: 1
    Last Post: 09-16-2006, 12:00 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •