WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   custom fonts with ag_Unit Frames (https://www.wowinterface.com/forums/showthread.php?t=15393)

sircreeps 03-22-08 05:01 AM

custom fonts with ag_Unit Frames
 
is this possible and if so, how can i go about doing this?

naeem151287 03-22-08 05:51 AM

well thr is no easy way of doing this...the only way this can be done is by editing the LUA code of the layout which u are using...suppose u are using the Moonwitch layout...then u have to open the Moonwitch.lua file and wherever u see the word "font" thr will be a path mentioned thr like /fonts/frizz.someextension....change tht path to the path of the font u want to use and ur good to go

mulesh 03-22-08 05:54 AM

Yes you can, but it involves working with the layout files.

You can use this guide to help create your layout:
ag_UnitFrames:Creating your own theme
I would suggest copying an existing layout file and practice editing on that first.

Just put your font file in "Interface\AddOns\ag_UnitFrames\fonts" folder and then edit your layout file to use it:
Code:

NameLabel = {
        Type = "string",
        Font = L["Interface\\AddOns\\ag_UnitFrames\\fonts\\YOURFONT.ttf"],
        FontSize = 10,
        Point = "LEFT",
        RelativeTo = "HealthBar",
        RelativePoint = "LEFT",
        x = 1.5,
        y =0,
        EndPoint = "RIGHT",
        EndRelativeTo = "HealthText",
        EndRelativePoint = "LEFT",
        Endx=2,
        Endy=0,
        Height = 1,
        },


Farook 03-22-08 09:34 PM

Of course you can use a custom font on your agUnitframes. I simply replace the default font manualy with the one of my choice whenever there is an update to agUF:

Rename the font of your choice to "barframes" -> go into you agUF folder -> go into "fonts" folder -> replace/overwrite the existing "barframes" with the one you renamed before -> DONE!


sircreeps 03-24-08 12:32 AM

thanks guys. if i have any troubles ill keep you posted.


All times are GMT -6. The time now is 01:42 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI