Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
xbmc uses xpr fonts. you can use the mxm font bundler to take a ttf font and make the xpr file.
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
the mxm font bundler is gui'ed font maker by benjeremy, author of mxm (check out the forums at xbox-scene.com)
it requires the fontmaker and bundler found in the xdk. you just open up a font and save the .tga and .abc files. then bundle those files to make the .xpr resource file
it can usually be found on news in a.b.c.i.xbox
Posts: 383
Joined: Oct 2003
Reputation:
0
floink
Senior Member
Posts: 383
that previous post reminds me of robin williams in good morning vietnam where he (in a very robin willams way) rambles a whole bunch of acronyms to some military grunt... :d
i'd like to have other fonts for xbmc aswell but that didn't sound like the simplest task...? are there any downloadable fonts out there?
/floink
Posts: 383
Joined: Oct 2003
Reputation:
0
floink
Senior Member
Posts: 383
... see, there you go again :d
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
the xdk bundler uses the rdf file to make the xpr file.
if you dont use the benjeremy's custom gui, you need to write the rdf file yourself.
"bundler font.rdf" will create font.xpr
the rdf file is just a simple text file, which describes what tga file and what abc file to use, just replace "font" with ur filenames
// font.rdf
out_packedresource font.xpr
texture font
{
source font.tga
format d3dfmt_a4r4g4b4
levels 1
}
userdata fontdata
{
datafile font.abc
}
Posts: 15
Joined: Jan 2004
Reputation:
0
bigv
Junior Member
Posts: 15
based on kraqh3d's information, i found the font bundler and created some fonts from windos's installed fonts. my question is what to after i created the font? should i just simply replace the files in xbmc/media directory or i have to recompile it with the xdk?
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
if you're just trying to use your new fonts in a skin, then you can either replace the existing fonts in the xbmc-root/skin/skin-name/fonts directory
or
place your new fonts in the xbmc-root/skin/skin-name/fonts directory and change the defininations in the xbmc-root/skin/skin-name/font.xml file. if you use this method, be sure to leave the font names the same in the xml file, and only change the filenames. otherwise, you'll need to do a search and replace for the font names thru all the other skin xml files
Posts: 15
Joined: Jan 2004
Reputation:
0
bigv
Junior Member
Posts: 15
one more question, by replace the font in the skin directory, will xbmc be able to view the file name list(including words using the new font) correctly?
Posts: 15
Joined: Jan 2004
Reputation:
0
bigv
Junior Member
Posts: 15
i created three fonts(song in ms) with size 13/14/64 by using font bundler. i renamed them to common-font13.xpr/common-font14.xpr and common-font64.xpr and replace the old files in mediacenter skin. i did saw the font change of xbmc gui. but when it gets to a chinese character(in the file name), it still couldn't decode it, only showed some unreadable characters. does anybody have any idea how to resolve this problem? thanks in advance.
Posts: 6
Joined: Feb 2004
Reputation:
0
bigv: i have the some problem with polish characters. the problem is in fontmaker.exe. fontmaker saves font (*.abc and *.tga) in windows western characters only !!!
Posts: 12
Joined: Feb 2004
Reputation:
0
i am trying to use fontbundle but without success.
when i run “fontbundle.exe” and click to the “fontmaker” button
nothing appear on!!!
i tried into 3 different systems (winxp, win2000, winme)
in my folder i have 4 files:
bundler.exe
readme.txt
fontbundle.exe
fontmaker.exe
did i something missing?
thanks in advance