EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Font builder (https://www.eq2interface.com/forums/showthread.php?t=533)

JohnYaya 12-05-2004 09:45 AM

Font builder
 
Anyone have any idea how this works? I'd love to add some smaller font sizes.

Peace

AncientAndroid 12-05-2004 11:14 AM

I just started playing with UI mods, but here's what i've found out so far.

Available fonts are listed in eq2ui_fonts.xml, you'll need to add entries to this one to add new fonts for use in the UI. I've only played with standard fonts, but to add a new one add something like this:

Code:

<TextStyle Algorithm="Simple" FontName="Times New Roman" Language="english" Name="Font_Euro_Zapf12" PointSize="12" UseCachedFont="true"/>
This would create a new 12pt font style called Font_Euro_Zapf12. You can also change Algorithm from simple to, for example, bold if you want bold text.

If you add the entry under the top Namespace element your new font will be available as (in this case) /Fonts.Font_Euro_Zapf12.

Hope this helps!


All times are GMT -5. The time now is 11:51 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI