XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Skin Development

Skin Development GUI and Web skins/themes, graphics development and suggestions.
No End-User Support Requests! Only skinners and graphic artists.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2003-10-01, 21:16   #1
jcee
Member
 
Join Date: Oct 2003
Posts: 63
jcee is on a distinguished road
Default

can different font sizes be used? if yes, how to do? where to get or how to create?
what are the basic steps?!

thanks in advance.
jcee is offline   Reply With Quote
Old 2003-10-01, 22:05   #2
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

yes you can define the fontsize/color etc for each text label
1st define the fonts in skin/mediacenter/fonts.xml
next change any textlabel in the other xml files
each has a property called <font> where you can specify the font

frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2003-10-02, 03:16   #3
scross28
Junior Member
 
Join Date: Oct 2003
Posts: 22
scross28 is on a distinguished road
Default

i have a question on fonts.
is there an app out there to create xpr fonts/files? for those of us who haven't got a clue on how to use the sdk.
i found that they render on the screen much better than a ttf. in xbmp anyway.
i did find an app that creates the .tga and .abc files. what i need is an app to turn those into an .xpr file.
many thanks.

steve

ps. i'm currently working on the new version of the elegance skin for those who enjoyed it.
scross28 is offline   Reply With Quote
Old 2003-10-02, 08:21   #4
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

you just need to copy fontmaker from the xdk
frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2003-10-04, 10:14   #5
scross28
Junior Member
 
Join Date: Oct 2003
Posts: 22
scross28 is on a distinguished road
Default

ok, i have fontmaker.exe
that makes the fontname_12.tga and fontname_12.abc file.
i read the help in the sdk for making a packed resource file (.xpr) using the bundler.
what i don't know (as i'm not a programmer) is what to put into the resource definition file (.rdf) to get the .abc and .tga files packed into the xpr format. i also read that i can input a single texture (.tga) into an .xpr
is just packing the .tga file enough or does the .abc file need to be packed as well?
is all this even neccesary, or can i just use the .tga and .abc files by themselves?
tia for your response.

steve

ps. i'll be takling the xmls tomorrow (saturday) for the ntsc skin. i'll upload them as soon as i'm done.

peace.
scross28 is offline   Reply With Quote
Old 2003-10-06, 10:24   #6
jcee
Member
 
Join Date: Oct 2003
Posts: 63
jcee is on a distinguished road
Default

you have to built a rdf file. here is an example how it should look like:

Quote:
// setting up the font files.

out_packedresource media\font.xpr

texture font
{
source media\fonts\dodger_18.tga
format d3dfmt_a4r4g4b4
levels 1
}

userdata fontdata
{
datafile media\fonts\dodger_18.abc
}
then you need the bundler command from the sdk and pass the file. it will the automatically take the tga and abc file and output a xpr file.
jcee is offline   Reply With Quote
Old 2003-10-07, 00:11   #7
scross28
Junior Member
 
Join Date: Oct 2003
Posts: 22
scross28 is on a distinguished road
Default

thanks frodo!!!

that did it. now i can use the fonts i want! great!
i'm on the last 4 xml files for the ntsc skin. i'll probably upload them tonight (mon)

thanks again.

steve
scross28 is offline   Reply With Quote
Old 2003-10-07, 00:13   #8
scross28
Junior Member
 
Join Date: Oct 2003
Posts: 22
scross28 is on a distinguished road
Default

oops! i'm very sorry! i didn't notice the second post was from jcee. i must also thank you!!!
sorry!
thanks!

steve
scross28 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Font Sizes with 480p GUI & 1080i Movies Livin XBMC for Xbox Specific Support 0 2006-06-19 00:27
Change font and font size? FiReSToRM XBMC for Xbox Specific Support 1 2006-06-17 18:43
Scale font sizes manekineko XBMC Feature Suggestions 0 2005-11-08 20:10
more subtitle font sizes Striker XBMC Feature Suggestions 0 2004-06-06 13:21
Scale font sizes manekineko Skin Development 0 1970-01-01 02:00


All times are GMT +2. The time now is 23:17.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project