Skip to content

Commit 2193623

Browse files
committed
Improve Fonts
1 parent 10dddf6 commit 2193623

File tree

12 files changed

+35
-19
lines changed

12 files changed

+35
-19
lines changed
-68.4 KB
Binary file not shown.
-68.5 KB
Binary file not shown.
58.2 KB
Binary file not shown.

dev/Assets/Fonts/Nabi.ttf

511 KB
Binary file not shown.

dev/Assets/Fonts/Neirizi.ttf

213 KB
Binary file not shown.

dev/Assets/Fonts/QuranTaha.ttf

349 KB
Binary file not shown.
-119 KB
Binary file not shown.
-119 KB
Binary file not shown.

dev/Helpers/AlAnvarSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public class AlAnvarSettings : JsonSettings, IVersionable
1414
public virtual string TranslationForeground { get; set; }
1515
public virtual string AyatNumberForeground { get; set; }
1616
public virtual string AyatFontFamilyName { get; set; } = AYAT_DEFAULT_FONT_NAME;
17-
public virtual string TranslationFontFamilyName { get; set; } = AYAT_NUMBER_DEFAULT_FONT_NAME;
18-
public virtual string AyatNumberFontFamilyName { get; set; } = TRANSLATION_DEFAULT_FONT_NAME;
17+
public virtual string TranslationFontFamilyName { get; set; } = TRANSLATION_DEFAULT_FONT_NAME;
18+
public virtual string AyatNumberFontFamilyName { get; set; } = AYAT_NUMBER_DEFAULT_FONT_NAME;
1919
public virtual double AyatFontSize { get; set; } = AYAT_DEFAULT_FONT_SIZE;
2020
public virtual double TranslationFontSize { get; set; } = TRANSLATION_DEFAULT_FONT_SIZE;
2121
public virtual double AyatNumberFontSize { get; set; } = AYAT_NUMBER_DEFAULT_FONT_SIZE;

dev/Helpers/Constants.cs

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,21 @@ public static class Constants
1717
public const double AYAT_DEFAULT_FONT_SIZE = 22;
1818
public const double AYAT_NUMBER_DEFAULT_FONT_SIZE = 23;
1919
public const double TRANSLATION_DEFAULT_FONT_SIZE = 20;
20-
public const string AYAT_DEFAULT_FONT_NAME = "Assets/Fonts/IRANSansX-Regular.ttf#IRANSansX";
21-
public const string AYAT_NUMBER_DEFAULT_FONT_NAME = "Assets/Fonts/IRANSansX-Regular.ttf#IRANSansX";
22-
public const string TRANSLATION_DEFAULT_FONT_NAME = "Assets/Fonts/IRANSansX-Regular.ttf#IRANSansX";
20+
public const string AYAT_DEFAULT_FONT_NAME = IRANSANS_FONT_ASSET;
21+
public const string AYAT_NUMBER_DEFAULT_FONT_NAME = IRANSANS_FONT_ASSET;
22+
public const string TRANSLATION_DEFAULT_FONT_NAME = IRANSANS_FONT_ASSET;
2323

24-
public const string FONT_REGULAR = "Assets/Fonts/IRANSansX-Regular.ttf#IRANSansX";
25-
public const string FONT_MEDIUM = "Assets/Fonts/IRANSansX-Medium.ttf#IRANSansX Medium";
26-
public const string FONT_BOLD = "Assets/Fonts/IRANSansX-Bold.ttf#IRANSansX";
24+
public const string IRANSANS_FONT_ASSET = "Assets/Fonts/IRANSansX-Regular.ttf#IRANSansX";
25+
public const string VAZIRMATN_FONT_ASSET = "Assets/Fonts/Vazirmatn-Regular.ttf#Vazirmatn";
26+
public const string IRANYEKAN_FONT_ASSET = "Assets/Fonts/IRANYekanRegular.ttf#IRANYekan";
27+
public const string NABI_FONT_ASSET = "Assets/Fonts/Nabi.ttf#Nabi";
28+
public const string NEIRIZI_FONT_ASSET = "Assets/Fonts/Neirizi.ttf#Neirizi";
29+
public const string QURANTAHA_FONT_ASSET = "Assets/Fonts/QuranTaha.ttf#QuranTaha";
30+
31+
public const string IRANSANS_FONT_PERSIAN = "ایران سنس";
32+
public const string VAZIRMATN_FONT_PERSIAN = "وزیر متن";
33+
public const string IRANYEKAN_FONT_PERSIAN = "ایران یکان";
34+
public const string NABI_FONT_PERSIAN = "نبی";
35+
public const string NEIRIZI_FONT_PERSIAN = "نیریزی";
36+
public const string QURANTAHA_FONT_PERSIAN = "قرآن طه";
2737
}

0 commit comments

Comments
 (0)