-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFonts.lua
More file actions
38 lines (29 loc) · 2.04 KB
/
Copy pathFonts.lua
File metadata and controls
38 lines (29 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
local env = select(2, ...)
local UIFont = env.modules:Import("packages\\ui-font")
local UIFont_FontUtil = env.modules:Import("packages\\ui-font\\font-util")
UIFont.LWFontSizeDef = {
ImmersiveChatBubbleFont = 13,
ParchmentText = 14,
ParchmentOptionText = 14,
ParchmentItemText = 12,
ParchmentRewardTagText = 10,
ParchmentCategoryLabelText = 14,
ParchmentHeaderPrimaryText = 18,
ParchmentHeaderSecondaryText = 12,
}
UIFont.ImmersiveChatBubbleFont = UIFont_FontUtil:CreateFontObject("ImmersiveChatBubbleFont")
UIFont.ImmersiveChatBubbleFont:SetFont(GameFontNormal:GetFont(), UIFont.LWFontSizeDef.ImmersiveChatBubbleFont, "")
UIFont.ParchmentText = UIFont_FontUtil:CreateFontObject("ParchmentText")
UIFont.ParchmentText:SetFont(GameFontNormal:GetFont(), UIFont.LWFontSizeDef.ParchmentText, "")
UIFont.ParchmentOptionText = UIFont_FontUtil:CreateFontObject("ParchmentOptionText")
UIFont.ParchmentOptionText:SetFont(GameFontNormal:GetFont(), UIFont.LWFontSizeDef.ParchmentOptionText, "")
UIFont.ParchmentItemText = UIFont_FontUtil:CreateFontObject("ParchmentItemText")
UIFont.ParchmentItemText:SetFont(GameFontNormal:GetFont(), UIFont.LWFontSizeDef.ParchmentItemText, "")
UIFont.ParchmentRewardTagText = UIFont_FontUtil:CreateFontObject("ParchmentRewardTagText")
UIFont.ParchmentRewardTagText:SetFont(GameFontNormal:GetFont(), UIFont.LWFontSizeDef.ParchmentRewardTagText, "OUTLINE")
UIFont.ParchmentCategoryLabelText = UIFont_FontUtil:CreateFontObject("ParchmentCategoryLabelText")
UIFont.ParchmentCategoryLabelText:SetFont(GameFontNormal:GetFont(), UIFont.LWFontSizeDef.ParchmentCategoryLabelText, "")
UIFont.ParchmentHeaderPrimaryText = UIFont_FontUtil:CreateFontObject("ParchmentHeaderPrimaryText")
UIFont.ParchmentHeaderPrimaryText:SetFont(GameFontNormal:GetFont(), UIFont.LWFontSizeDef.ParchmentHeaderPrimaryText, "")
UIFont.ParchmentHeaderSecondaryText = UIFont_FontUtil:CreateFontObject("ParchmentHeaderSecondaryText")
UIFont.ParchmentHeaderSecondaryText:SetFont(GameFontNormal:GetFont(), UIFont.LWFontSizeDef.ParchmentHeaderSecondaryText, "")