View Single Post
02-13-07, 08:25 PM   #14
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Here is my screenshot of how it looks with Enviro font:
http://i10.photobucket.com/albums/a1...h/MazzleUI.jpg


To use the ClearFont2 FontPack, merely place the FontPack folder in your Addons directory and it will add those new fonts the list to choose from in-game.


How to imput your own fonts into ClearFont2:

(This is for using a custom font, not included with ClearFont2 or its FontPack you can download separately.)

1. Find a font you like that you have on your computer (you may also find fonts on the web that various people have created) - your Fonts folder is located at C:\WINDOWS\Fonts

2. The best type of font to use is one with different styles- regular, bold, italic, and bold italic (If you find one that you like that doesn't have 4 styles- like Enviro- don't worry about it) We'll use Arial as an example here.

3. Copying fonts from this directory is a little tricky, so read carefully
  • Drag the font you like and its bold, italic, and bold italic styles out of the fonts folder and onto your desktop (Arial, Arial Bold, Arial Italic, and Arial Bold Italic) - NOTE: this will REMOVE the fonts from your Fonts folder!!
  • Once on the Desktop, drag the fonts back into the Fonts folder- this will reinstall them, leaving copies on the Desktop
  • Create a new folder on your desktop named after the font (Arial) and place the font files in that folder
4. Find the ClearFont2 folder in your WorldofWarcraft\Interface\Addons directory

5. Inside the ClearFont2 folder is a folder named Fonts - place your new font folder (Arial) inside

6. Now find a lua file named Core in the ClearFont2 folder and open it with a program like Notepad. You will see very simple code that you're going to add to, using your new font, that looks like this:
Code:
{["name"]="Default (Calibri v1)",	
		["normal"]		=fontLoc.."Calibri_v1\\Calibri.ttf",
		["bold"]		=fontLoc.."Calibri_v1\\CalibriBold.ttf",
		["italic"]		=fontLoc.."Calibri_v1\\CalibriItalic.ttf",
		["bolditalic"]		=fontLoc.."Calibri_v1\\CalibriBoldItalic.ttf", 
		["number"]		=fontLoc.."Calibri_v1\\CalibriBold.ttf"},
  • The first line (where it says Default...) is the name of that font that will be displayed in the list
  • Below that are the different styles of the font, and where ClearFont2 should find them in the ClearFont2 directory - font location is font folder\\font FILE name .ttf (true-type font) - the number style should be from the normal font

7. Copy a section of the code and paste it in at the bottom of the code list (or alphabetically, if you want your list arranged like me )

8. Replace with your font name in the first line (Arial), your font folder name (Arial), and the font file names - it should look like below:
Code:
{["name"]="Arial",	
		["normal"]		=fontLoc.."Arial\\arial.ttf",
		["bold"]		=fontLoc.."Arial\\arialbd.ttf",
		["italic"]		=fontLoc.."Arial\\ariali.ttf",
		["bolditalic"]		=fontLoc.."Arial\\arialbi.ttf", 
		["number"]		=fontLoc.."Arial\\arial.ttf"},
  • If you happen to pick a font with only one typeset/style, like Enviro, then your code will look like this:
Code:
{["name"]="Enviro",	
		["normal"]		=fontLoc.."Enviro\\Enviro.ttf",
		["bold"]		=fontLoc.."Enviro\\Enviro.ttf",
		["italic"]		=fontLoc.."Enviro\\Enviro.ttf",
		["bolditalic"]		=fontLoc.."Enviro\\Enviro.ttf", 
		["number"]		=fontLoc.."Enviro\\Enviro.ttf"},
9. Make sure that what you've added to the code looks EXACTLY like what was there before, and that the last curly bracket ( } ) is still located on the left margin at the very end of the list of fonts (before all the other stuff in that file)- if there is something off with your code, you will get an error in-game which should tell you about what was wrong and where in the code it was encountered, so you can fix it

10. Log into WoW - Mazzle has turned off the ClearFont2 FuBar menu, which is fine because we need the room up there Go to the DeuceCommander menu in FuBar and you will find ClearFont2 under Interface Enhancements

11. Select your new font. Typle /rl to reload your UI to ensure that the font gets applied to your chat box and any other mods that didn't change right away. If that doesn't work, exit the game and relog. Remember, though, that the font will not be applied to *everything* - some things that Mazzle has put together and some mods have font overrides that will keep them set to their default.

12. ??

13. Profit! Enjoy

Last edited by Seerah : 02-13-07 at 08:29 PM. Reason: typos >.<
  Reply With Quote