Thread Tools Display Modes
03-22-08, 05:01 AM   #1
sircreeps
A Deviate Faerie Dragon
 
sircreeps's Avatar
Join Date: Mar 2008
Posts: 15
custom fonts with ag_Unit Frames

is this possible and if so, how can i go about doing this?
  Reply With Quote
03-22-08, 05:51 AM   #2
naeem151287
A Flamescale Wyrmkin
 
naeem151287's Avatar
AddOn Compiler - Click to view compilations
Join Date: Sep 2007
Posts: 144
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
__________________
My Blog - Feel free to leave comments.
  Reply With Quote
03-22-08, 05:54 AM   #3
mulesh
A Chromatic Dragonspawn
 
mulesh's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 193
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,
	},
__________________
"Don"t tase me bro!" ~ Andrew Meyer
  Reply With Quote
03-22-08, 09:34 PM   #4
Farook
A Molten Giant
 
Farook's Avatar
Join Date: Mar 2006
Posts: 595
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!

__________________
  Reply With Quote
03-24-08, 12:32 AM   #5
sircreeps
A Deviate Faerie Dragon
 
sircreeps's Avatar
Join Date: Mar 2008
Posts: 15
thanks guys. if i have any troubles ill keep you posted.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » custom fonts with ag_Unit Frames

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off