Quote Originally Posted by Garan View Post
Lotro uses two bitmaps to produce fonts on controls (one for the text and one for the outline) so the font face and size are both determined by the font ID passed in the SetFont method of a text or label control. The API now contains all of the possible font and size values in the Turbine.UI.Lotro.Font enumeration. The MoorMap plugin contains the latest version of my FontSupport.lua file that supports displaying a user selection list for fonts as well as font metrics (to determine the height and width of a particular string in a particular font, quite handy for internationalization, etc. where you don't know the string or the font face/size at design time). Unfortunately, MoorMap doesn't really make good use of FontSupport.lua (it's only used for the metrics in popup dialogs) but the Anthology plugin makes extensive use of FontSupport (the version published with Anthology is out of data, so replace it with the version from MoorMap to see all of the proper fonts). Feel free to dig into them to see how FontSupport works and use FontSupport.lua in your own projects - I just ask that if you include FontSupport.lua (or any other .lua file) in a plugin that you give appropriate credit.

https://www.lotrointerface.com/downl...2-MoorMap.html
https://www.lotrointerface.com/downl...Anthology.html
Thanks for the reply, I managed to do what I was wanting to with :SetFont(....) in the end, didn't realise that it could also affect the size.

Will definitely look in to your FontSupport.lua though

Have added credit to my plugin anyway, for all the other information/code that you have provided over the years