xboxscene.org forums

Author Topic: How Can I Make Or Transform Some Fonts To .xpr?  (Read 57 times)

Musashi

  • Archived User
  • Full Member
  • *
  • Posts: 191
How Can I Make Or Transform Some Fonts To .xpr?
« on: June 18, 2004, 06:24:00 PM »

How can I transform the windows font files into xbox font files (.xpr)??? what files do i need?
Logged

JbOnE

  • Archived User
  • Full Member
  • *
  • Posts: 242
How Can I Make Or Transform Some Fonts To .xpr?
« Reply #1 on: June 18, 2004, 09:59:00 PM »

CODE


out_packedresource YOUR_FONT.xpr
out_error          YOUR_FONT.err


Texture YOUR_FONT
{
  Source      YOUR_FONT.tga
  Format      D3DFMT_A4R4G4B4
  Levels      1
}

UserData YOUR_FONT_Data
{
  DataFile YOUR_FONT.abc
}



then you can use the font in your program that includes xbfont.h as
CXBFont YOUR_FONT;

see the comments in the header for how to init the font  tongue.gif


pEAcE
JbOnE
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
How Can I Make Or Transform Some Fonts To .xpr?
« Reply #2 on: June 19, 2004, 05:08:00 AM »

Search "The Usual Places" for "FontBundle"

It contains XDK apps, so do not request it here. FontBundler is a simple app that ties FontMaker and Bundler to make it a pretty simply process.
Logged