Better additional fonts

This commit is contained in:
Vlad 2022-07-15 02:09:16 +03:00 committed by GitHub
parent bd56afd4c5
commit e3342a7fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -95,14 +95,14 @@ LUI.MenuBuilder.registerType("choose_language_menu", function(a1)
if (id == 5 or (id >= 8 and id < 12) or id == 17) then
LUI.MenuGenericButtons.ButtonLabelFont.Font = RegisterFont("fonts/noto_sans_sc.otf", 30)
overrideyoffset = 0
LUI.MenuGenericButtons.ButtonLabelFont.Height = 24
LUI.MenuGenericButtons.ButtonLabelFont.Height = 17
elseif (id == 12) then
LUI.MenuGenericButtons.ButtonLabelFont.Font = RegisterFont("fonts/noto_sans_arabic.ttf", 30)
LUI.MenuGenericButtons.ButtonLabelFont.Height = 28
overrideyoffset = 0
elseif (id == 15) then
LUI.MenuGenericButtons.ButtonLabelFont.Font = RegisterFont("fonts/noto_sans_kr.otf", 30)
LUI.MenuGenericButtons.ButtonLabelFont.Height = 24
LUI.MenuGenericButtons.ButtonLabelFont.Height = 18
overrideyoffset = 0
end
end