diff --git a/src/seedsigner/gui/components.py b/src/seedsigner/gui/components.py index 16962ab2..d9a2e0b4 100644 --- a/src/seedsigner/gui/components.py +++ b/src/seedsigner/gui/components.py @@ -50,11 +50,12 @@ class GUIConstants: BASE_LOCALE_FONTS = { "default": "OpenSans-Regular", - # SettingsConstants.LOCALE__ARABIC: "NotoSansAR-Regular", + SettingsConstants.LOCALE__ARABIC: "NotoSansAR-Regular", SettingsConstants.LOCALE__CHINESE_SIMPLIFIED: "NotoSansSC-Regular", # SettingsConstants.LOCALE__CHINESE_TRADITIONAL: "NotoSansTC-Regular", SettingsConstants.LOCALE__JAPANESE: "NotoSansJP-Regular", SettingsConstants.LOCALE__KOREAN: "NotoSansKR-Regular", + SettingsConstants.LOCALE__PERSIAN: "NotoSansAR-Regular", # Uses the Arabic font SettingsConstants.LOCALE__THAI: "NotoSansTH-Regular", } @@ -91,7 +92,8 @@ class GUIConstants: BUTTON_FONT_NAME["default"] = "OpenSans-SemiBold" BUTTON_FONT_SIZE = { "default": 18, - # "ar": 16, + "ar": 18, + "fa": 18, SettingsConstants.LOCALE__JAPANESE: 20, SettingsConstants.LOCALE__KOREAN: 20, SettingsConstants.LOCALE__CHINESE_SIMPLIFIED: 20, diff --git a/src/seedsigner/models/settings_definition.py b/src/seedsigner/models/settings_definition.py index 60cb5f95..a0369568 100644 --- a/src/seedsigner/models/settings_definition.py +++ b/src/seedsigner/models/settings_definition.py @@ -136,7 +136,7 @@ class SettingsConstants: # --------- Placeholders / Coming soon ------------------------------------------ # Commented out options require explicit additional font support. # ------------------------------------------------------------------------------- - # LOCALE__ARABIC: "العربية (Arabic)", + LOCALE__ARABIC: "العربية (Arabic)", # LOCALE__BENGALI: "বাংলা (Bengali)", LOCALE__BULGARIAN: "български (Bulgarian)", # OpenSans includes cyrillic chars LOCALE__CZECH: "čeština", @@ -161,7 +161,7 @@ class SettingsConstants: LOCALE__MALTESE: "Malti", # LOCALE__MARATHI: "मराठी (Marathi)", LOCALE__NORWEGIAN: "Norsk", - # LOCALE__PERSIAN: "فارسی (Persian)", + LOCALE__PERSIAN: "فارسی (Persian)", LOCALE__POLISH: "Polski", LOCALE__PORTUGUESE_BR: "Português (Brasil)", LOCALE__PORTUGUESE_PT: "Português (Portugal)", diff --git a/src/seedsigner/resources/fonts/NotoSansAR-Regular.ttf b/src/seedsigner/resources/fonts/NotoSansAR-Regular.ttf new file mode 100644 index 00000000..08a5b52d Binary files /dev/null and b/src/seedsigner/resources/fonts/NotoSansAR-Regular.ttf differ