Jump to content

  • Log In with Google      Sign In   
  • Create Account


- - - - -

BMFont crashes when using a custom font file in OTF format


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
8 replies to this topic

#1 ehmdjii   Members   -  Reputation: 230

Like
0Likes
Like

Posted 11 June 2013 - 06:35 AM

in the font settings dialog i specify a font in OTF format and then select it in the font dropdown dialog box.

 

afterwards when clicking on save bitmap as or save configurations as it crashes

 

version 1.14 beta

my os is win7 64 bit

 

i am not sure how i can provide you with any more information.



Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3057

Like
0Likes
Like

Posted 13 June 2013 - 09:44 PM

I'll see if I can reproduce this and have it fixed. Thanks for letting me know.

 

Regards,

Andreas


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#3 ehmdjii   Members   -  Reputation: 230

Like
0Likes
Like

Posted 14 June 2013 - 04:50 AM

ok thanks!

this is a font that triggers the problem:

 

http://www.dafont.com/fontdinerdotcom-lou.font

 

i then converted this to OTF using a windows build of fontforge.

which i uploaded here:

http://www.deviantsart.com/upload/38n3995.otf

 

if you select all possible glyphs and then export, it crashes.

 

 

btw, i have a question about the meaning of the additional font file that can be specified.

is it

A) one that should be used to fill missing glyps for the one that is selected in the box above

or 

B) one where all glyphs should be taken from

 

thanks!


Edited by ehmdjii, 19 June 2013 - 08:10 AM.


#4 Andreas Jonsson   Moderators   -  Reputation: 3057

Like
0Likes
Like

Posted 14 June 2013 - 04:09 PM

The link to the .otf file isn't working. Can you post the correct link? Or even attach the .otf file to the post itself?

 

In answer to your question. The font file that you can specify is to allow you to convert a font that is not first installed in your system. By selecting the font file, the fonts from that file will be available to be selected from in the drop down box together with the other fonts that are installed.


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#5 Andreas Jonsson   Moderators   -  Reputation: 3057

Like
0Likes
Like

Posted 14 June 2013 - 05:06 PM

I was able to reproduce a crash with another .otf font (Arno Pro). I can't be sure if it is the same crash that you're experiencing, but it happened when exporting characters with Unicode value above 0x10000.

 

I've fixed this crash and uploaded a new version of the 1.14 beta to the site. Please give it a try and see if it fixed the problem you're experiencing too.

 

Regards,

Andreas


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#6 ehmdjii   Members   -  Reputation: 230

Like
0Likes
Like

Posted 19 June 2013 - 08:15 AM

 yeah the crash seems fixed. thanks a lot for that! (i have corrected the link of my otf, but its not relevant anymore.)

 

thanks for the explanation of the additional font file.

 

that brings me to a feature request:

i would like to specify a font which i have not installed, AND in addition specify another font from where missing glyphs in the first font file should be taken from.

 

for example that one font i uploaded has only the basic glyphs a-Z, 0-9,  so in order to also show cyrlilic text, it should use glyphs from Arial Unicode MS (which seems to contain almost every glyph).



#7 Andreas Jonsson   Moderators   -  Reputation: 3057

Like
0Likes
Like

Posted 19 June 2013 - 11:21 AM

I've added this suggestion to my to-do list. I can't give any estimate as to when it might possibly be implemented though.

 

Regards,

Andreas


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#8 ehmdjii   Members   -  Reputation: 230

Like
0Likes
Like

Posted 23 June 2013 - 01:28 PM

cool thanks,

btw, did you ever consider making bmfont open source? this way others can contribute features.



#9 Andreas Jonsson   Moderators   -  Reputation: 3057

Like
0Likes
Like

Posted 24 June 2013 - 10:08 AM

I've thought about it several times, and I'll probably end up doing it eventually. But not yet. 


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS