Hello Guest

Author Topic: Can't Create New Font  (Read 5484 times)

maureli

  • Newbie
  • *
  • Posts: 15
    • View Profile
Can't Create New Font
« on: April 26, 2014, 06:05:38 pm »
I'm using the latest version of GlyphDesigner and the latest version of 2DToolkit and attempting to create a new font using the "preparing a font" guide. The font seems like it will work; however, when I press commit, I get this error:

ArgumentOutOfRangeException: Cannot be negative.
Parameter name: length

Any help on this would be appreciated. Thanks.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Can't Create New Font
« Reply #1 on: April 26, 2014, 07:27:57 pm »
Can you post the font here please?

maureli

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Can't Create New Font
« Reply #2 on: April 26, 2014, 07:41:13 pm »
It's attached here.
« Last Edit: April 26, 2014, 07:52:35 pm by maureli »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Can't Create New Font
« Reply #3 on: April 26, 2014, 07:43:36 pm »
I will need the font you exported from GlyphDesigner (i.e. the one you're importing into tk2d), not the fnt itself...

maureli

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Can't Create New Font
« Reply #4 on: April 26, 2014, 07:45:15 pm »
That's what I exported from GlyphDesigner, along with a png of the font. Unless you're asking for the TTF.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Can't Create New Font
« Reply #5 on: April 26, 2014, 07:47:27 pm »
Got a bit confused there, where's the png?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Can't Create New Font
« Reply #6 on: April 26, 2014, 07:48:37 pm »
btw, I think the issue is with the space in the name... the file referenced in the .fnt is
Code: [Select]
file=" SteampunkTitle.png"Not sure why glyph designer is spitting out an additional space there...

maureli

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Can't Create New Font
« Reply #7 on: April 26, 2014, 07:51:46 pm »
That did the trick. I removed the space and it's working fine. I'll send the GD support an e-mail about the issue. Thanks for the prompt help!