LibActionButton-1.0

7 - Default button hotkey font

I have a small, self-made addon that overrides the default font settings. Since 5.0.4 I have noticed that Bartender 4's hotkey text has reverted to using the (ugly) default of ARIALN.ttf.

It took some time to figure out why, but it appears that in LibActionButton-1.0.lua, during the call to lib:CreateButton() it forcibly uses ARIALN, purportedly for "better readability". Aside from overriding the font file in (WOWPATH)/Fonts/ARIALN.ttf, I can determine no method to alter this behaviour. I should like to request a slight modification (in CreateButton), from:

button.hotkey:SetFont("Fonts\\ARIALN.ttf", 13, "OUTLINE")

to:

button.hotkey:SetFont(button.hotkey:GetFont(), 13, "OUTLINE")

(I must admit I am ignorant of any other effects this might have.)

User When Change
Nevcairiel May 11, 2014 at 12:23 UTC Changed status from New to Fixed
X3J11 Sep 07, 2012 at 17:25 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
May 11, 2014
Reported
Sep 07, 2012
Status
Fixed - Developer made requested changes. QA should verify.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees