2D Toolkit Forum

2D Toolkit => Support => Topic started by: jjv on August 28, 2014, 02:10:07 am

Title: Missing whitespace in imported font
Post by: jjv on August 28, 2014, 02:10:07 am
Not sure if it is BMFont issue or I need to change something in 2d toolkit. When I create a font with BMFont I select "whitespace" empty block to be included into export. However when I select Options>Visualize or Export the font "whitespace" is missing, which kind of make scenes cause I think BMFont just optimizes it as there is nothing to render.

However when I follow this instruction http://www.unikronsoftware.com/2dtoolkit/docs/latest/tutorial/importing_a_font_into_a_sprite_collection.html and create a TextMesh that has a whitespace it is not displayed in the game view (it is simple omitted). So  I see "score0" instead of "score 0".

Please advice
Title: Re: Missing whitespace in imported font
Post by: unikronsoftware on August 28, 2014, 11:51:36 am
Did you add the space character? i.e. character 32? If not, reexport with that selected.
Title: Re: Missing whitespace in imported font
Post by: jjv on August 29, 2014, 01:22:58 am
I thought I did, I re-did it and it works. Thanks.