Alain91 Posted October 19, 2013 Share Posted October 19, 2013 Hello everyone, I would like to use a font stored only in a bitmap file, like the ones used in the old amiga demos for example I can not find any tool to make the .fnt or .xml files... I can find truetype to .fnt, but no bitmap to fnt.. Please could you help me ? Alain Quote Link to comment Share on other sites More sharing options...
benny! Posted October 19, 2013 Share Posted October 19, 2013 Have a look at http://www.angelcode.com/products/bmfont/ Quote Link to comment Share on other sites More sharing options...
Alain91 Posted October 19, 2013 Author Share Posted October 19, 2013 Thanks, but "This program will allow you to generate bitmap fonts from TrueType fonts" or perhaps that there is a trick.. Quote Link to comment Share on other sites More sharing options...
benny! Posted October 19, 2013 Share Posted October 19, 2013 Ops, No you are right my fault. Hmmm ... what you could do is the following: - Use any TrueType font with BMFont- Configure BMFont in the way your original Bitmap Font is (size, spacing etc)- BMFont generates the .fnt and a .png file- Look at the png file - if the true type chars are in the same size, order etc as your bitmap font - simply replace the file This would work - however I guess you need to do some additional manual work while editing the png. Sorry again for the confusion. Quote Link to comment Share on other sites More sharing options...
Alain91 Posted October 19, 2013 Author Share Posted October 19, 2013 Benny, Thanks for your answers. So it seems that I will have to code a 'real' bitmap font to .fnt.. Alain Quote Link to comment Share on other sites More sharing options...
Alain91 Posted November 3, 2013 Author Share Posted November 3, 2013 Hello Benny and Pixi.js ! After some work, I wrote a small java tool to create .fnt file to use with bitmap fixed size fonts.This tool resolve my problem.. There may be another tool doing this but I didn't found it .. This is my first java program so there may be mistakes, bugs, etc.. Feel free to give me feedback Hope it will help someone..This is a tribute to the excellent Pixi.js ! Enjoy !Alainbitmap2fnt.zip Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted November 3, 2013 Share Posted November 3, 2013 Hello Benny and Pixi.js ! After some work, I wrote a small java tool to create .fnt file to use with bitmap fixed size fonts.This tool resolve my problem.. There may be another tool doing this but I didn't found it .. This is my first java program so there may be mistakes, bugs, etc.. Feel free to give me feedback Hope it will help someone..This is a tribute to the excellent Pixi.js ! Enjoy !Alain Excellent stuff! Quote Link to comment Share on other sites More sharing options...
benny! Posted November 3, 2013 Share Posted November 3, 2013 Cool - will have a look at it next week. Thanks for sharing! Quote Link to comment Share on other sites More sharing options...
Sub_Zero Posted January 17, 2014 Share Posted January 17, 2014 Thanks for this Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.