xboxscene.org forums

Author Topic: Makefont  (Read 97 times)

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Makefont
« on: June 14, 2003, 10:23:00 PM »

If you are just trying to build an XPR font, you could look for "FontBundle" in "The Usual Places", which automates the step between FotnMaker and the Bundler...

I haven't looked at 5455 or 5558 yet, but I don't expect they have changed since 5344.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Makefont
« Reply #1 on: June 14, 2003, 11:10:00 PM »

QUOTE (serialmonkey @ Jun 15 2003, 03:06 AM)
Thanks BenJeremy,

Looks like the FontBundle apps generates .xpr files for fonts. Is this a bitmap style font ? What would I need to  change in the following code to load an .xpr instead of an .bmf.

   XFONT_OpenBitmapFont( L"F:Arial18Normal.bmf",
                           dwFontCacheSize, &m_pArial18BitmapFont );

Thanks,
S.

No, sorry.... it's using the "XTL" framework "XBFont" class.

I use these for MXM, they work very nicely. I don't use XFONT.
Logged

serialmonkey

  • Archived User
  • Newbie
  • *
  • Posts: 6
Makefont
« Reply #2 on: June 14, 2003, 11:19:00 PM »

Ahh Thanks,

I'll see what I can find - just trying to get this darn Hello World sample code working :-) Gotta start somewhere.

S.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Makefont
« Reply #3 on: June 14, 2003, 11:28:00 PM »

QUOTE (serialmonkey @ Jun 15 2003, 03:19 AM)
Ahh Thanks,

I'll see what I can find - just trying to get this darn Hello World sample code working :-) Gotta start somewhere.

S.

Well, the best way is to use the "XTL" framework.... XBApplication class, fill in Render() with code to call an XBFont, and you are there.
Logged

Wishi

  • Archived User
  • Full Member
  • *
  • Posts: 191
Makefont
« Reply #4 on: June 15, 2003, 01:01:00 AM »

I would've thought people would try and keep away from using MS code such as the XTL framework just to try and make it as legal as possible, although it's probably not any different. However, it seems like a good idea to try and use as little of it as possible to me.
Logged