Hello Guest

Author Topic: Can't select Font for TextMesh from SpriteCollection  (Read 3836 times)

Smartphoneware

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 15
    • View Profile
Can't select Font for TextMesh from SpriteCollection
« on: April 23, 2014, 11:58:53 am »
I going to use TextMesh with custom font that have different textures and font-text-files for different platform resolutions.

All fonts are exported from GlyphDesigner v.1.9.1.
tk2d v.2.4.0.

I've followed this instruction
http://2dtoolkit.com/docs/latest/tutorial/importing_a_font_into_a_sprite_collection.html

But font doesn't appear in TextMesh.Font property.
I've check tk2dTextMeshEditor, and found that this font is managed therefore it's excluded from fonts list.

Did I miss something? How to solve this?
« Last Edit: April 23, 2014, 12:03:20 pm by Smartphoneware »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Can't select Font for TextMesh from SpriteCollection
« Reply #1 on: April 23, 2014, 12:48:03 pm »
For every set of managed platform fonts there should be at least one non-managed master font.
What do you mean by its not in the Font property? Can you select it in the interface?


Have you deleted all the demo fonts, can you select those?

Smartphoneware

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Can't select Font for TextMesh from SpriteCollection
« Reply #2 on: April 23, 2014, 03:08:33 pm »
Ok, I've just rebuild collection with font, looks like everything is ok now.