Sign in to follow this  

BMFont crashes when using a custom font file in OTF format

This topic is 1668 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

 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).

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

cool thanks,

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

Share this post


Link to post
Share on other sites
Sign in to follow this