From db2ae0e79fe0e5a9466dd382c0a05548dc6f0d7e Mon Sep 17 00:00:00 2001 From: spiralofhope Date: Mon, 5 Oct 2020 11:21:53 -0700 Subject: [PATCH 1/9] Remove/fix channel list code https://github.com/TekNoLogic/tekticles/issues/18 --- tekticles.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tekticles.lua b/tekticles.lua index f4e1420..a383680 100644 --- a/tekticles.lua +++ b/tekticles.lua @@ -87,11 +87,13 @@ f:SetScript("OnEvent", function() -- I have no idea why the channel list is getting fucked up -- but re-setting the font obj seems to fix it - for i=1,MAX_CHANNEL_BUTTONS do - local f = _G["ChannelButton"..i.."Text"] - f:SetFontObject(GameFontNormalSmallLeft) - -- function f:SetFont(...) error("Attempt to set font on ChannelButton"..i) end - end + -- See issue #18 + -- https://github.com/TekNoLogic/tekticles/issues/18 + --for i=1,GetNumDisplayChannels() do + --local f = _G["ChannelButton"..i.."Text"] + --f:SetFontObject(GameFontNormalSmallLeft) + ---- function f:SetFont(...) error("Attempt to set font on ChannelButton"..i) end + --end for _,butt in pairs(PaperDollTitlesPane.buttons) do butt.text:SetFontObject(GameFontHighlightSmallLeft) end end) From eecf5586f0d48ac2c28aa1b3ac644db2bda4adfe Mon Sep 17 00:00:00 2001 From: spiralofhope Date: Mon, 5 Oct 2020 11:33:43 -0700 Subject: [PATCH 2/9] Working on issue #1 https://github.com/spiralofhope/tekticles/issues/1 Integrated arcadepro's fork: https://github.com/arcadepro/tekticles/commits/master --- tekticles.lua | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/tekticles.lua b/tekticles.lua index a383680..3733d8f 100644 --- a/tekticles.lua +++ b/tekticles.lua @@ -8,9 +8,12 @@ local function SetFont(obj, font, size, style, r, g, b, sr, sg, sb, sox, soy) end +local name, addon = ... local f = CreateFrame("Frame") f:RegisterEvent("ADDON_LOADED") -f:SetScript("OnEvent", function() +f:SetScript("OnEvent", function(self, event, arg1, ...) +if arg1 ~= name then return end + local NORMAL = "Interface\\AddOns\\tekticles\\Calibri.ttf" local BOLD = "Interface\\AddOns\\tekticles\\CalibriBold.ttf" local BOLDITALIC = "Interface\\AddOns\\tekticles\\CalibriBoldItalic.ttf" @@ -18,11 +21,13 @@ f:SetScript("OnEvent", function() local NUMBER = "Interface\\AddOns\\tekticles\\CalibriBold.ttf" UIDROPDOWNMENU_DEFAULT_TEXT_HEIGHT = 12 - CHAT_FONT_HEIGHTS = {7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24} + CHAT_FONT_HEIGHTS = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24} - UNIT_NAME_FONT = NORMAL - DAMAGE_TEXT_FONT = NUMBER - STANDARD_TEXT_FONT = NORMAL + UNIT_NAME_FONT = NORMAL + DAMAGE_TEXT_FONT = NUMBER + STANDARD_TEXT_FONT = NORMAL + NAMEPLATE_FONT = NORMAL + NAMEPLATE_SPELLCAST_FONT = NORMAL -- Base fonts SetFont(AchievementFont_Small, BOLD, 12) @@ -31,6 +36,8 @@ f:SetScript("OnEvent", function() SetFont(FriendsFont_Small, NORMAL, 11, nil, nil, nil, nil, 0, 0, 0, 1, -1) SetFont(FriendsFont_UserText, NUMBER, 12, nil, nil, nil, nil, 0, 0, 0, 1, -1) SetFont(GameTooltipHeader, BOLD, 15, "OUTLINE") + SetFont(GameFontWhite, NORMAL, 13) -- legion nameplates + SetFont(GameFontWhiteTiny, NORMAL, 11) -- legion nameplates SetFont(GameFont_Gigantic, BOLD, 32, nil, nil, nil, nil, 0, 0, 0, 1, -1) SetFont(GameNormalNumberFont, BOLD, 11) SetFont(InvoiceFont_Med, ITALIC, 13, nil, 0.15, 0.09, 0.04) @@ -78,6 +85,9 @@ f:SetScript("OnEvent", function() SetFont(ErrorFont, ITALIC, 16, nil, 60) SetFont(QuestFontNormalSmall, BOLD, 13, nil, nil, nil, nil, 0.54, 0.4, 0.1) SetFont(WorldMapTextFont, BOLDITALIC, 31, "THICKOUTLINE", 40, nil, nil, 0, 0, 0, 1, -1) + SetFont(SystemFont_NamePlate, NORMAL, 12, "OUTLINE") -- legion nameplates + SetFont(SystemFont_LargeNamePlate, NORMAL, 16, "OUTLINE") -- legion nameplates + SetFont(SystemFont_NamePlateCastBar, NUMBER, 14, "OUTLINE") -- legion nameplates for i=1,7 do local f = _G["ChatFrame"..i] From f74192f9f68825e839065d9a7446fe730cd80c92 Mon Sep 17 00:00:00 2001 From: spiralofhope Date: Mon, 5 Oct 2020 11:54:56 -0700 Subject: [PATCH 3/9] - Error fix for Shadowlands beta (9.x) - I have no idea what's going on with that, but I just hacked out some code and it works now. --- tekticles.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tekticles.lua b/tekticles.lua index 3733d8f..e464cd5 100644 --- a/tekticles.lua +++ b/tekticles.lua @@ -71,7 +71,7 @@ if arg1 ~= name then return end SetFont(SystemFont_Shadow_Med1, NORMAL, 13) SetFont(SystemFont_Shadow_Med2, NORMAL, 14) SetFont(SystemFont_Shadow_Med3, NORMAL, 15) - SetFont(SystemFont_Shadow_Outline_Huge2, NORMAL, 22, "OUTLINE") + --SetFont(SystemFont_Shadow_Outline_Huge2, NORMAL, 22, "OUTLINE") SetFont(SystemFont_Shadow_Small, BOLD, 11) SetFont(SystemFont_Small, NORMAL, 12) SetFont(SystemFont_Tiny, NORMAL, 11) From 6fc7f29914661640b0a02d4f424f444c1dda7632 Mon Sep 17 00:00:00 2001 From: spiralofhope Date: Mon, 5 Oct 2020 11:55:01 -0700 Subject: [PATCH 4/9] . --- tekticles.toc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tekticles.toc b/tekticles.toc index 890c93c..c11b295 100644 --- a/tekticles.toc +++ b/tekticles.toc @@ -1,9 +1,9 @@ -## Interface: 60000 +## Interface: 80300 +## Version: 8.0.1.2 ## Title: tekticles ## Notes: Simple font replacement ## Author: Tekkub Stoutwrithe -## Version: Alpha ## X-Website: http://www.tekkub.net/ ## X-Credits: ClearFont2 by Kirkburn ## X-Category: Interface Enhancements From 21e315791769dea8b1d2749b1bf5c6a2e0a07661 Mon Sep 17 00:00:00 2001 From: spiralofhope Date: Mon, 5 Oct 2020 11:55:07 -0700 Subject: [PATCH 5/9] . --- changelog.markdown | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 changelog.markdown diff --git a/changelog.markdown b/changelog.markdown new file mode 100644 index 0000000..0a563eb --- /dev/null +++ b/changelog.markdown @@ -0,0 +1,7 @@ +spiralofhope's changes: + +# 8.0.1.2 + +- Error fix for Shadowlands beta (9.x) + - I have no idea what's going on with that, but I just hacked out some code and it works now. + From eb70f27d0bd2589e4d78d528150cd8742b2e8b98 Mon Sep 17 00:00:00 2001 From: spiralofhope Date: Mon, 5 Oct 2020 12:21:40 -0700 Subject: [PATCH 6/9] - Implemented a preference for the font to be used, so I can remove bold from numbers. --- changelog.markdown | 3 +- tekticles.lua | 168 +++++++++++++++++++++++++-------------------- tekticles.toc | 3 + 3 files changed, 100 insertions(+), 74 deletions(-) diff --git a/changelog.markdown b/changelog.markdown index 0a563eb..6fcfe58 100644 --- a/changelog.markdown +++ b/changelog.markdown @@ -4,4 +4,5 @@ spiralofhope's changes: - Error fix for Shadowlands beta (9.x) - I have no idea what's going on with that, but I just hacked out some code and it works now. - +- Implemented a preference for the font to be used, so I can remove bold from numbers. + - This opens the way to have an options panel. diff --git a/tekticles.lua b/tekticles.lua index e464cd5..d875290 100644 --- a/tekticles.lua +++ b/tekticles.lua @@ -1,4 +1,3 @@ - local function SetFont(obj, font, size, style, r, g, b, sr, sg, sb, sox, soy) obj:SetFont(font, size, style) if sr and sg and sb then obj:SetShadowColor(sr, sg, sb) end @@ -12,87 +11,110 @@ local name, addon = ... local f = CreateFrame("Frame") f:RegisterEvent("ADDON_LOADED") f:SetScript("OnEvent", function(self, event, arg1, ...) -if arg1 ~= name then return end + if arg1 ~= name then return end + + + do -- Default options + if tekticles_options == nil then tekticles_options = {} end + if tekticles_options.normal == nil then tekticles_options.normal = 'Interface\\AddOns\\tekticles\\Calibri.ttf' end + if tekticles_options.bold == nil then tekticles_options.bold = 'Interface\\AddOns\\tekticles\\CalibriBold.ttf' end + if tekticles_options.bolditalic == nil then tekticles_options.bolditalic = 'Interface\\AddOns\\tekticles\\CalibriBoldItalic.ttf' end + if tekticles_options.italic == nil then tekticles_options.italic = 'Interface\\AddOns\\tekticles\\CalibriItalic.ttf' end + if tekticles_options.number == nil then tekticles_options.number = 'Interface\\AddOns\\tekticles\\CalibriBold.ttf' end + + -- Override things; I hate bold and italics! + -- TODO - implement an options panel. + -- (Steal code from TidyBar) + --tekticles_options.normal = 'Interface\\AddOns\\tekticles\\Calibri.ttf' + --tekticles_options.bold = 'Interface\\AddOns\\tekticles\\Calibri.ttf' + --tekticles_options.bolditalic = 'Interface\\AddOns\\tekticles\\Calibri.ttf' + --tekticles_options.italic = 'Interface\\AddOns\\tekticles\\Calibri.ttf' + -- This is my preference because + tekticles_options.number = 'Interface\\AddOns\\tekticles\\Calibri.ttf' + end - local NORMAL = "Interface\\AddOns\\tekticles\\Calibri.ttf" - local BOLD = "Interface\\AddOns\\tekticles\\CalibriBold.ttf" - local BOLDITALIC = "Interface\\AddOns\\tekticles\\CalibriBoldItalic.ttf" - local ITALIC = "Interface\\AddOns\\tekticles\\CalibriItalic.ttf" - local NUMBER = "Interface\\AddOns\\tekticles\\CalibriBold.ttf" UIDROPDOWNMENU_DEFAULT_TEXT_HEIGHT = 12 CHAT_FONT_HEIGHTS = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24} - UNIT_NAME_FONT = NORMAL - DAMAGE_TEXT_FONT = NUMBER - STANDARD_TEXT_FONT = NORMAL - NAMEPLATE_FONT = NORMAL - NAMEPLATE_SPELLCAST_FONT = NORMAL - - -- Base fonts - SetFont(AchievementFont_Small, BOLD, 12) - SetFont(FriendsFont_Large, NORMAL, 15, nil, nil, nil, nil, 0, 0, 0, 1, -1) - SetFont(FriendsFont_Normal, NORMAL, 13, nil, nil, nil, nil, 0, 0, 0, 1, -1) - SetFont(FriendsFont_Small, NORMAL, 11, nil, nil, nil, nil, 0, 0, 0, 1, -1) - SetFont(FriendsFont_UserText, NUMBER, 12, nil, nil, nil, nil, 0, 0, 0, 1, -1) - SetFont(GameTooltipHeader, BOLD, 15, "OUTLINE") - SetFont(GameFontWhite, NORMAL, 13) -- legion nameplates - SetFont(GameFontWhiteTiny, NORMAL, 11) -- legion nameplates - SetFont(GameFont_Gigantic, BOLD, 32, nil, nil, nil, nil, 0, 0, 0, 1, -1) - SetFont(GameNormalNumberFont, BOLD, 11) - SetFont(InvoiceFont_Med, ITALIC, 13, nil, 0.15, 0.09, 0.04) - SetFont(InvoiceFont_Small, ITALIC, 11, nil, 0.15, 0.09, 0.04) - SetFont(MailFont_Large, ITALIC, 15, nil, 0.15, 0.09, 0.04, 0.54, 0.4, 0.1, 1, -1) - SetFont(NumberFont_OutlineThick_Mono_Small, NUMBER, 13, "OUTLINE") - SetFont(NumberFont_Outline_Huge, NUMBER, 30, "THICKOUTLINE", 30) - SetFont(NumberFont_Outline_Large, NUMBER, 17, "OUTLINE") - SetFont(NumberFont_Outline_Med, NUMBER, 15, "OUTLINE") - SetFont(NumberFont_Shadow_Med, NORMAL, 14) - SetFont(NumberFont_Shadow_Small, NORMAL, 12) - SetFont(QuestFont_Shadow_Small, NORMAL, 16) - SetFont(QuestFont_Large, NORMAL, 16) - SetFont(QuestFont_Huge, BOLD, 19, nil, nil, nil, nil, 0.54, 0.4, 0.1) - SetFont(QuestFont_Shadow_Huge, BOLD, 19, nil, nil, nil, nil, 0.54, 0.4, 0.1) - SetFont(QuestFont_Super_Huge, BOLD, 24) - SetFont(ReputationDetailFont, BOLD, 12, nil, nil, nil, nil, 0, 0, 0, 1, -1) - SetFont(SpellFont_Small, BOLD, 11) - SetFont(SystemFont_InverseShadow_Small, BOLD, 11) - SetFont(SystemFont_Large, NORMAL, 17) - SetFont(SystemFont_Med1, NORMAL, 13) - SetFont(SystemFont_Med2, ITALIC, 14, nil, 0.15, 0.09, 0.04) - SetFont(SystemFont_Med3, NORMAL, 15) - SetFont(SystemFont_OutlineThick_Huge2, NORMAL, 22, "THICKOUTLINE") - SetFont(SystemFont_OutlineThick_Huge4, BOLDITALIC, 27, "THICKOUTLINE") - SetFont(SystemFont_OutlineThick_WTF, BOLDITALIC, 31, "THICKOUTLINE", nil, nil, nil, 0, 0, 0, 1, -1) - SetFont(SystemFont_Outline_Small, NUMBER, 13, "OUTLINE") - SetFont(SystemFont_Shadow_Huge1, BOLD, 20) - SetFont(SystemFont_Shadow_Huge3, BOLD, 25) - SetFont(SystemFont_Shadow_Large, NORMAL, 17) - SetFont(SystemFont_Shadow_Med1, NORMAL, 13) - SetFont(SystemFont_Shadow_Med2, NORMAL, 14) - SetFont(SystemFont_Shadow_Med3, NORMAL, 15) - --SetFont(SystemFont_Shadow_Outline_Huge2, NORMAL, 22, "OUTLINE") - SetFont(SystemFont_Shadow_Small, BOLD, 11) - SetFont(SystemFont_Small, NORMAL, 12) - SetFont(SystemFont_Tiny, NORMAL, 11) - SetFont(Tooltip_Med, NORMAL, 13) - SetFont(Tooltip_Small, BOLD, 12) - SetFont(WhiteNormalNumberFont, BOLD, 11) - - -- Derived fonts - SetFont(BossEmoteNormalHuge, BOLDITALIC, 27, "THICKOUTLINE") - SetFont(CombatTextFont, NORMAL, 26) - SetFont(ErrorFont, ITALIC, 16, nil, 60) - SetFont(QuestFontNormalSmall, BOLD, 13, nil, nil, nil, nil, 0.54, 0.4, 0.1) - SetFont(WorldMapTextFont, BOLDITALIC, 31, "THICKOUTLINE", 40, nil, nil, 0, 0, 0, 1, -1) - SetFont(SystemFont_NamePlate, NORMAL, 12, "OUTLINE") -- legion nameplates - SetFont(SystemFont_LargeNamePlate, NORMAL, 16, "OUTLINE") -- legion nameplates - SetFont(SystemFont_NamePlateCastBar, NUMBER, 14, "OUTLINE") -- legion nameplates + UNIT_NAME_FONT = tekticles_options.normal + DAMAGE_TEXT_FONT = tekticles_options.number + STANDARD_TEXT_FONT = tekticles_options.normal + NAMEPLATE_FONT = tekticles_options.normal + NAMEPLATE_SPELLCAST_FONT = tekticles_options.normal + + do -- Base fonts + SetFont(AchievementFont_Small, tekticles_options.bold, 12) + SetFont(FriendsFont_Large, tekticles_options.normal, 15, nil, nil, nil, nil, 0, 0, 0, 1, -1) + SetFont(FriendsFont_Normal, tekticles_options.normal, 13, nil, nil, nil, nil, 0, 0, 0, 1, -1) + SetFont(FriendsFont_Small, tekticles_options.normal, 11, nil, nil, nil, nil, 0, 0, 0, 1, -1) + SetFont(FriendsFont_UserText, tekticles_options.number, 12, nil, nil, nil, nil, 0, 0, 0, 1, -1) + SetFont(GameTooltipHeader, tekticles_options.bold, 15, "OUTLINE") + SetFont(GameFont_Gigantic, tekticles_options.bold, 32, nil, nil, nil, nil, 0, 0, 0, 1, -1) + SetFont(GameNormalNumberFont, tekticles_options.bold, 11) + SetFont(InvoiceFont_Med, tekticles_options.italic, 13, nil, 0.15, 0.09, 0.04) + SetFont(InvoiceFont_Small, tekticles_options.italic, 11, nil, 0.15, 0.09, 0.04) + SetFont(MailFont_Large, tekticles_options.italic, 15, nil, 0.15, 0.09, 0.04, 0.54, 0.4, 0.1, 1, -1) + SetFont(NumberFont_OutlineThick_Mono_Small, tekticles_options.number, 13, "OUTLINE") + SetFont(NumberFont_Outline_Huge, tekticles_options.number, 30, "THICKOUTLINE", 30) + SetFont(NumberFont_Outline_Large, tekticles_options.number, 17, "OUTLINE") + SetFont(NumberFont_Outline_Med, tekticles_options.number, 15, "OUTLINE") + SetFont(NumberFont_Shadow_Med, tekticles_options.normal, 14) + SetFont(NumberFont_Shadow_Small, tekticles_options.normal, 12) + SetFont(QuestFont_Shadow_Small, tekticles_options.normal, 16) + SetFont(QuestFont_Large, tekticles_options.normal, 16) + SetFont(QuestFont_Huge, tekticles_options.bold, 19, nil, nil, nil, nil, 0.54, 0.4, 0.1) + SetFont(QuestFont_Shadow_Huge, tekticles_options.bold, 19, nil, nil, nil, nil, 0.54, 0.4, 0.1) + SetFont(QuestFont_Super_Huge, tekticles_options.bold, 24) + SetFont(ReputationDetailFont, tekticles_options.bold, 12, nil, nil, nil, nil, 0, 0, 0, 1, -1) + SetFont(SpellFont_Small, tekticles_options.bold, 11) + SetFont(SystemFont_InverseShadow_Small, tekticles_options.bold, 11) + SetFont(SystemFont_Large, tekticles_options.normal, 17) + SetFont(SystemFont_Med1, tekticles_options.normal, 13) + SetFont(SystemFont_Med2, tekticles_options.italic, 14, nil, 0.15, 0.09, 0.04) + SetFont(SystemFont_Med3, tekticles_options.normal, 15) + SetFont(SystemFont_OutlineThick_Huge2, tekticles_options.normal, 22, "THICKOUTLINE") + SetFont(SystemFont_OutlineThick_Huge4, tekticles_options.bolditalic, 27, "THICKOUTLINE") + SetFont(SystemFont_OutlineThick_WTF, tekticles_options.bolditalic, 31, "THICKOUTLINE", nil, nil, nil, 0, 0, 0, 1, -1) + SetFont(SystemFont_Outline_Small, tekticles_options.number, 13, "OUTLINE") + SetFont(SystemFont_Shadow_Huge1, tekticles_options.bold, 20) + SetFont(SystemFont_Shadow_Huge3, tekticles_options.bold, 25) + SetFont(SystemFont_Shadow_Large, tekticles_options.normal, 17) + SetFont(SystemFont_Shadow_Med1, tekticles_options.normal, 13) + SetFont(SystemFont_Shadow_Med2, tekticles_options.normal, 14) + SetFont(SystemFont_Shadow_Med3, tekticles_options.normal, 15) + -- This was causing problems and commenting it out seems to work just fine. + --SetFont(SystemFont_Shadow_Outline_Huge2, tekticles_options.normal, 22, "OUTLINE") + SetFont(SystemFont_Shadow_Small, tekticles_options.bold, 11) + SetFont(SystemFont_Small, tekticles_options.normal, 12) + SetFont(SystemFont_Tiny, tekticles_options.normal, 11) + SetFont(Tooltip_Med, tekticles_options.normal, 13) + SetFont(Tooltip_Small, tekticles_options.bold, 12) + SetFont(WhiteNormalNumberFont, tekticles_options.bold, 11) + end + + do -- Derived fonts + SetFont(BossEmoteNormalHuge, tekticles_options.bolditalic, 27, "THICKOUTLINE") + SetFont(CombatTextFont, tekticles_options.normal, 26) + SetFont(ErrorFont, tekticles_options.italic, 16, nil, 60) + SetFont(QuestFontNormalSmall, tekticles_options.bold, 13, nil, nil, nil, nil, 0.54, 0.4, 0.1) + SetFont(WorldMapTextFont, tekticles_options.bolditalic, 31, "THICKOUTLINE", 40, nil, nil, 0, 0, 0, 1, -1) + end + + + do -- legion nameplates + SetFont(GameFontWhite, tekticles_options.normal, 13) + SetFont(GameFontWhiteTiny, tekticles_options.normal, 11) + SetFont(SystemFont_NamePlate, tekticles_options.normal, 12, "OUTLINE") + SetFont(SystemFont_LargeNamePlate, tekticles_options.normal, 16, "OUTLINE") + SetFont(SystemFont_NamePlateCastBar, tekticles_options.number, 14, "OUTLINE") + end + for i=1,7 do local f = _G["ChatFrame"..i] local font, size = f:GetFont() - f:SetFont(NORMAL, size) + f:SetFont(tekticles_options.normal, size) end -- I have no idea why the channel list is getting fucked up diff --git a/tekticles.toc b/tekticles.toc index c11b295..f694c64 100644 --- a/tekticles.toc +++ b/tekticles.toc @@ -17,3 +17,6 @@ tekKonfigScroll.lua tekticles.lua sample.lua + + +## SavedVariables: tekticles_options From 5b80965bb06bcbebd839176eea2398184ec0731e Mon Sep 17 00:00:00 2001 From: spiralofhope Date: Mon, 5 Oct 2020 12:22:15 -0700 Subject: [PATCH 7/9] . --- changelog.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.markdown b/changelog.markdown index 6fcfe58..f48adeb 100644 --- a/changelog.markdown +++ b/changelog.markdown @@ -2,6 +2,7 @@ spiralofhope's changes: # 8.0.1.2 +- Tested for Shadowlands beta 9.0.2.36086 x64 - Error fix for Shadowlands beta (9.x) - I have no idea what's going on with that, but I just hacked out some code and it works now. - Implemented a preference for the font to be used, so I can remove bold from numbers. From d3aeb91f7d4f1d5623134dc437a90eef83f69e26 Mon Sep 17 00:00:00 2001 From: spiralofhope Date: Mon, 5 Oct 2020 12:47:25 -0700 Subject: [PATCH 8/9] Reduced the size of the font used in the hp/mp text on the character. --- tekticles.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tekticles.lua b/tekticles.lua index d875290..a040657 100644 --- a/tekticles.lua +++ b/tekticles.lua @@ -76,7 +76,7 @@ f:SetScript("OnEvent", function(self, event, arg1, ...) SetFont(SystemFont_OutlineThick_Huge2, tekticles_options.normal, 22, "THICKOUTLINE") SetFont(SystemFont_OutlineThick_Huge4, tekticles_options.bolditalic, 27, "THICKOUTLINE") SetFont(SystemFont_OutlineThick_WTF, tekticles_options.bolditalic, 31, "THICKOUTLINE", nil, nil, nil, 0, 0, 0, 1, -1) - SetFont(SystemFont_Outline_Small, tekticles_options.number, 13, "OUTLINE") + SetFont(SystemFont_Outline_Small, tekticles_options.number, 11, "OUTLINE") SetFont(SystemFont_Shadow_Huge1, tekticles_options.bold, 20) SetFont(SystemFont_Shadow_Huge3, tekticles_options.bold, 25) SetFont(SystemFont_Shadow_Large, tekticles_options.normal, 17) From 51edff850ffbebc51d9f343c650cdcdee16db200 Mon Sep 17 00:00:00 2001 From: spiralofhope Date: Mon, 5 Oct 2020 12:48:16 -0700 Subject: [PATCH 9/9] . --- changelog.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.markdown b/changelog.markdown index f48adeb..1877eb1 100644 --- a/changelog.markdown +++ b/changelog.markdown @@ -7,3 +7,4 @@ spiralofhope's changes: - I have no idea what's going on with that, but I just hacked out some code and it works now. - Implemented a preference for the font to be used, so I can remove bold from numbers. - This opens the way to have an options panel. +- Reduced the size of the font used in the hp/mp text on the character.