View Single Post
  #1  
Unread 11-19-2005, 04:04 PM
dredd2032 dredd2032 is offline
A Young Mystail Rat
 
Join Date: May 2005
Server: Antonia Bayle
Posts: 4
Wink Seting a new font in a custom window ??

Well, I thought I had it. Here is where I am at. Keep in mind I am only editing one window different then the default skin. (for now)

I added a file FontArial12.xml to my default UI folder. It is an exact copy of the FontArial14.xml file with the font size changed to 12 (I am after a 12 point font) and the name changed to FontArial12
Then I added <include>FontArial12.xml</include> in place in eq2ui_fonts.xml

This worked and I can use Fonts.FontArial12 in my window xml file and get the correct font, however, I would like to be able to setup the font info in my own xml custom folder and not modify the default UI to get this working.

I tried adding this to the top of my windows xml file

<Namespace Name="Fonts">
<TextStyle Algorithm="Simple" FontName="Arial" Language="english" Name="FontArial12" PointSize="12" UseCachedFont="true"/>
</Namespace>

However I get nothing there. I understand the default way I described above uses includes to get the info into the xml but I cant figure out how to set it up myself?

Or am I barking up the wrong tree completly?

Sorry for being an XML noob, and thanks for any help.

Last edited by dredd2032 : 11-19-2005 at 05:27 PM.
Reply With Quote