View Single Post
  #2  
Unread 01-02-2011, 01:39 PM
TW Shrub TW Shrub is offline
A Brown Bear
Interface Author - Click to view interfaces
 
Join Date: Oct 2004
Server: Nektulos
Posts: 8
Default

One thing I see in the eq2ui_textstyles.xml file is that in the TextStyle definition for "56" (about line 110); the FontName is set to Arial rather than Emblem.

It has been my experience that while in-game it will use the FontName property to determine which font to use regardless of what the PrivateFontPath property actually points to. In contrast, the UIBuilder will (seemingly) always use the PrivateFontPath regardless of what the FontName says (just the oppposite of the in-game behavior).

It worked fine for me when I just changed the FontName property to "Emblem":

<TextStyle Algorithm="Simple" FontName="Emblem" Language="english" Leading="-2" Name="56" PointSize="56" PrivateFontPath="UI/Fonts/Emblem.ttf" UseCachedFont="true"/>

rather than:
<TextStyle Algorithm="Simple" FontName="Arial" Language="english" Leading="-2" Name="56" PointSize="56" PrivateFontPath="UI/Fonts/Emblem.ttf" UseCachedFont="true"/>

This may only be true when UseCachedFont is set to true but that is how I have always done fonts so this behavior may not hold true when not using cached fonts.

Last edited by TW Shrub : 01-02-2011 at 01:51 PM. Reason: After-thought
Reply With Quote