View Single Post
  #2  
Unread 03-07-2021, 10:50 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 341
From the original release notes for Update 8 (when SetMarkupEnable was added):
Quote:
Added IsMarkupEnabled, SetMarkupEnabled to the Label class. This will allow for a limited set of HTML style tags to be used for formatting text. Tags include<b>, <i>, <u>, <p>, and a custom <rgb=#XXXXXX> tag. Make sure you close them </>.
Unfortunately, only the underline and paragraph tags actually seem to do anything (and the paragraph only adds a linefeed before the text not after it so it's not really a paragraph tag). Bold and italic don't work due to the way fonts are rendered in LotRO (to make bold text, you have to assign a bold font to the entire control and then everything is bold so the tag is irrelevant and there are no italic fonts). I can only guess that Turbine at one time intended to replace their existing font mechanism with actual true type fonts but that would have required significant changes to the UI and must have been scrapped.

Last edited by Garan : 03-07-2021 at 11:11 PM.
Reply With Quote