Is there a way to change the font of FuBar? I got font called gunplay.ttf on nearly every other texture in-game than FuBar and the difference annoys me.
Only problem is that Clearfont2 changes the text in your professions tab not to work. For example if it should say "Nethercobra leghide" in LW tab it said ".......................". Is it a known and/or fixed bug?
ClearFont2 does this by changing "GameFontNormal" font. But then other stuff is changed as well. I just want to change the font of FuBar without changing anything else and that is not possible because FuBar has no FontInstance registered. I tried to add ..:SetFont everywhere in the code of FuBar but that is not possible...
Lets hope, ckk adds this soon...
It's because FuBarPlugin-2.0 handles the font for displaying plugin names on FuBar. ;) I've been changing the font color on my FuBar for months, so changing the actual font is not a problem. Keep in mind, I am using ClearFont2 at the same time, so this completely bypasses CF2's settings, which rewrite the SetFont for GameFontNormal.
AddOn: FuBarPlugin-2.0 r48269
File: FuBarPligin-2.0\FuBarPlugin-2.0.lua
*comment out old font set method
Comment Out Line: 1189
Too Look Like: --text:SetFontObject(GameFontNormal)
*change font for FuBar plugins
Line: 1190
Insert: text:SetFont("Fonts\\slkscr.ttf", 13)
In my case, I used Silkscreen as my test font. The font used has to be in the root of the World of Warcraft\Fonts\ folder.
FuBar's Rock Config (let's not get in to that can o'worms :p) will handle the font size, regardless of the size you set above, so no worries there.
I've attached an image that shows the changed font, in action! pewpew.
Left side is using size 9, right side is using size 15.
Pixel fonts should not be anti-aliased which is way the left side, albeit small, looks more awesome than the right side. XD
As seen in the image, FuBar_MoneyFu will not change its font if you change it in FuBarPlugin-2.0, so if you are interested in changing that as well, apply the above method to lines 63, 89, 94, and 99.
Using that method, you don't need your font in a World of Warcraft\Fonts folder. You can use any font you already have in your WoW directory, be it a different one from ClearFont2, SharedMedia, etc. Just put in the correct path.
Using that method, you don't need your font in a World of Warcraft\Fonts folder. You can use any font you already have in your WoW directory, be it a different one from ClearFont2, SharedMedia, etc. Just put in the correct path.
hm, I tried it in a sub-directory of Fonts\ and it did not work. Maybe I fat-fingered the code, lol. I was rushing a bit, because I had a reply typed out and hit Enter and it posted half of my reply while I was still coding and /rl the fix.
WoW requires that the game be restarted completely before it will load a new file like a texture, font, or addon. That may have been it. /shrug
Just make sure that the path and files names are exact.
I think that was it, and I always forget to do it, since I've had the same font forever. As long as the root path is the same, you can change the file name. If you change the path in game, it does not like that so much. (I think.)
Since last patch the font change is not applying to ClockFu.
I looked for in the ClockFu.lua to see if it now specifies its own font (like MoneyFu) but couldn't find a line that did this.
Any ideas?
ClockFu now uses LibFuBarPlugin-3.0 rather than FuBarPlugin-2.0, so if you made changes to the FuBarPlugin-2.0 file in order to change your font, you'll need to do the same for LibFuBarPlugin-3.0.
ClockFu now uses LibFuBarPlugin-3.0 rather than FuBarPlugin-2.0, so if you made changes to the FuBarPlugin-2.0 file in order to change your font, you'll need to do the same for LibFuBarPlugin-3.0.
Thnx mate.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Lets hope, ckk adds this soon...
In my case, I used Silkscreen as my test font. The font used has to be in the root of the World of Warcraft\Fonts\ folder.
FuBar's Rock Config (let's not get in to that can o'worms :p) will handle the font size, regardless of the size you set above, so no worries there.
I've attached an image that shows the changed font, in action! pewpew.
Left side is using size 9, right side is using size 15.
Pixel fonts should not be anti-aliased which is way the left side, albeit small, looks more awesome than the right side. XD
http://antipersonnel.org/media/images/storage/070919-fubar_silkscreen.jpg
As seen in the image, FuBar_MoneyFu will not change its font if you change it in FuBarPlugin-2.0, so if you are interested in changing that as well, apply the above method to lines 63, 89, 94, and 99.
Hope this helps! ^_^
hm, I tried it in a sub-directory of Fonts\ and it did not work. Maybe I fat-fingered the code, lol. I was rushing a bit, because I had a reply typed out and hit Enter and it posted half of my reply while I was still coding and /rl the fix.
So,
should work?
Just make sure that the path and files names are exact.
I think that was it, and I always forget to do it, since I've had the same font forever. As long as the root path is the same, you can change the file name. If you change the path in game, it does not like that so much. (I think.)
Regardless, thanks. ^_^
I looked for in the ClockFu.lua to see if it now specifies its own font (like MoneyFu) but couldn't find a line that did this.
Any ideas?
ClockFu now uses LibFuBarPlugin-3.0 rather than FuBarPlugin-2.0, so if you made changes to the FuBarPlugin-2.0 file in order to change your font, you'll need to do the same for LibFuBarPlugin-3.0.
Thnx mate.