fonts: support for non latin gameclients

This commit is contained in:
shagu
2016-12-19 18:46:46 +01:00
parent c5ca003882
commit 77f02d9674
22 changed files with 111 additions and 98 deletions
+2 -2
View File
@@ -425,11 +425,11 @@ pfUI:RegisterModule("actionbar", function ()
getglobal(button..i..'NormalTexture'):SetTexCoord(.08, .92, .08, .92)
getglobal(button..i..'Border'):SetTexture(0,0,0,0)
getglobal(button..i..'HotKey'):SetAllPoints(getglobal(button..i))
getglobal(button..i..'HotKey'):SetFont("Interface\\AddOns\\pfUI\\fonts\\" .. pfUI_config.global.font_square .. ".ttf", pfUI_config.global.font_size -2, "OUTLINE")
getglobal(button..i..'HotKey'):SetFont(pfUI.font_square, pfUI_config.global.font_size -2, "OUTLINE")
getglobal(button..i..'HotKey'):SetJustifyH("RIGHT")
getglobal(button..i..'HotKey'):SetJustifyV("TOP")
getglobal(button..i..'Name'):SetAllPoints(getglobal(button..i))
getglobal(button..i..'Name'):SetFont("Interface\\AddOns\\pfUI\\fonts\\" .. pfUI_config.global.font_square .. ".ttf", pfUI_config.global.font_size -2, "OUTLINE")
getglobal(button..i..'Name'):SetFont(pfUI.font_square, pfUI_config.global.font_size -2, "OUTLINE")
getglobal(button..i..'Name'):SetJustifyH("CENTER")
getglobal(button..i..'Name'):SetJustifyV("BOTTOM")
end