Thread: rmod Layouts
View Single Post
Old 03/18/08, 9:21 PM   #79 (permalink)
Velveeta
Von Kaiser
 
Tauren Druid
 
Demon Soul
Originally Posted by Kamna View Post
I've been having fun with runits all evening, but I haven't seen anywhere I can edit the font size of the units.
(or rather, I've tried searching for font and size and such, without luck. And skimming through hasn't produced anything either) Can I be true that there's no way of doing this?

In the layout.lua file find this:

local hpp = hp:CreateFontString(nil, "OVERLAY")
    hpp:SetPoint("RIGHT", -3, 0)
    hpp:SetFontObject(GameFontHighlight)
    hpp:SetTextColor(1, 1, 1)

And change the bold part to:

hpp:SetFont("Fonts\\skurri", 12)
This will set the font of the hpp setting to use the skurri font in the main Fonts folder at size 12. Just replace the path to your font in "", you can also specify your own size and if it has an outline.
 
User is offline.
Reply With Quote