Added feature to change font type. added 2 new font types
This commit is contained in:
1 parent
ff19520056
commit
0990d2e048
8 files changed
+30
-3
No files matched your search
@@ -56,7 +56,8 @@ EID.modPath = string.gsub(EID.modPath, "\\", "/")
|
||||
EID.modPath = string.gsub(EID.modPath, ":/", ":\\")
|
||||
|
||||
EID.font = Font() -- init font object
|
||||
EID:loadFont(EID.modPath .. "resources/font/eid_default.fnt")
|
||||
local fontFile = EIDConfig["FontType"] or "default"
|
||||
EID:loadFont(EID.modPath .. "resources/font/eid_"..fontFile..".fnt")
|
||||
|
||||
--Makes textscale smaller, when using detailed english descriptions
|
||||
if EIDConfig["Language"] == "en_us_detailed" and EIDConfig["Scale"] > 0.5 then
|
||||
|
||||
Reference in new issue
Block a user