Hello Guest

Author Topic: Missing whitespace in imported font  (Read 3351 times)

jjv

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 8
    • View Profile
Missing whitespace in imported font
« 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Missing whitespace in imported font
« Reply #1 on: August 28, 2014, 11:51:36 am »
Did you add the space character? i.e. character 32? If not, reexport with that selected.

jjv

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Missing whitespace in imported font
« Reply #2 on: August 29, 2014, 01:22:58 am »
I thought I did, I re-did it and it works. Thanks.