4 Replies - 5466 Views - Last Post: 09 February 2011 - 07:56 AM

#1 frostyraver  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 13
  • View blog
  • Posts: 195
  • Joined: 21-April 09

Custom Fonts

Posted 07 February 2011 - 07:36 PM

I'm currently trying to use custom TRUE TYPE or OPEN TYPE fonts, but they don't work, they're installed, and referred too, am I missing something here?
Is This A Good Question/Topic? 0
  • +

Replies To: Custom Fonts

#2 Kilorn  Icon User is offline

  • XNArchitect
  • member icon



Reputation: 1357
  • View blog
  • Posts: 3,528
  • Joined: 03-May 10

Re: Custom Fonts

Posted 08 February 2011 - 07:37 AM

Show me a little of the code that is using the spriteFont and let's see if we can figure out what's going wrong.
Was This Post Helpful? 0
  • +
  • -

#3 SixOfEleven  Icon User is offline

  • using Caffeine;
  • member icon

Reputation: 947
  • View blog
  • Posts: 6,342
  • Joined: 18-October 08

Re: Custom Fonts

Posted 08 February 2011 - 11:21 AM

You could try using the SpriteFont 2 Texture Tool and convert your font to an image. You can then add the image as you would other content. Just make sure to set the Content Processor to Sprite Font Texture in the properties of the image.
Was This Post Helpful? 0
  • +
  • -

#4 Fib  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 162
  • View blog
  • Posts: 554
  • Joined: 12-March 09

Re: Custom Fonts

Posted 08 February 2011 - 01:51 PM

That is a really awesome tool SixOfEleven. Thanks for the link.
Was This Post Helpful? 0
  • +
  • -

#5 frostyraver  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 13
  • View blog
  • Posts: 195
  • Joined: 21-April 09

Re: Custom Fonts

Posted 09 February 2011 - 07:56 AM

View PostKilorn, on 08 February 2011 - 07:37 AM, said:

Show me a little of the code that is using the spriteFont and let's see if we can figure out what's going wrong.

I figured out that I had regular after the font name, and you can just delete it and it works, and also you have to restart visual studio.


View PostSixOfEleven, on 08 February 2011 - 11:21 AM, said:

You could try using the SpriteFont 2 Texture Tool and convert your font to an image. You can then add the image as you would other content. Just make sure to set the Content Processor to Sprite Font Texture in the properties of the image.

That's possibly the best thing ever. Thanks!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1