[Scummvm-git-logs] scummvm master -> 14d636216710fdfbf711c03d3970de4737f10bed
sev-
noreply at scummvm.org
Sun Mar 26 00:51:47 UTC 2023
This automated email contains information about 3 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
5571e78331 DISTS: Add Arabic fonts to fonts.dat
92186deb09 GUI: Mark Arabic as RTL
14d6362167 GUI: THEMES: Specify fonts for Arabic translation
Commit: 5571e78331731505bf5a104cb836dee3577e556c
https://github.com/scummvm/scummvm/commit/5571e78331731505bf5a104cb836dee3577e556c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-03-26T01:48:20+01:00
Commit Message:
DISTS: Add Arabic fonts to fonts.dat
Changed paths:
A gui/themes/fonts/NotoNaskhArabic-Bold.ttf
A gui/themes/fonts/NotoNaskhArabic-Regular.ttf
dists/engine-data/fonts.dat
gui/themes/fonts/version.txt
diff --git a/dists/engine-data/fonts.dat b/dists/engine-data/fonts.dat
index b22c3e16550..44ab03c8f05 100644
Binary files a/dists/engine-data/fonts.dat and b/dists/engine-data/fonts.dat differ
diff --git a/gui/themes/fonts/NotoNaskhArabic-Bold.ttf b/gui/themes/fonts/NotoNaskhArabic-Bold.ttf
new file mode 100644
index 00000000000..c83c7f66929
Binary files /dev/null and b/gui/themes/fonts/NotoNaskhArabic-Bold.ttf differ
diff --git a/gui/themes/fonts/NotoNaskhArabic-Regular.ttf b/gui/themes/fonts/NotoNaskhArabic-Regular.ttf
new file mode 100644
index 00000000000..f99cd70ea85
Binary files /dev/null and b/gui/themes/fonts/NotoNaskhArabic-Regular.ttf differ
diff --git a/gui/themes/fonts/version.txt b/gui/themes/fonts/version.txt
index d3bdbdf1fda..6259340971b 100644
--- a/gui/themes/fonts/version.txt
+++ b/gui/themes/fonts/version.txt
@@ -1 +1 @@
-1.7
+1.8
Commit: 92186deb098b6f76a4729cc457c6bbc96aac1e22
https://github.com/scummvm/scummvm/commit/92186deb098b6f76a4729cc457c6bbc96aac1e22
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-03-26T01:48:48+01:00
Commit Message:
GUI: Mark Arabic as RTL
Changed paths:
gui/gui-manager.cpp
diff --git a/gui/gui-manager.cpp b/gui/gui-manager.cpp
index 7d4ed36ff30..47c2beffcd9 100644
--- a/gui/gui-manager.cpp
+++ b/gui/gui-manager.cpp
@@ -801,7 +801,7 @@ void GuiManager::setLanguageRTL() {
}
#ifdef USE_TRANSLATION
Common::String language = TransMan.getCurrentLanguage();
- if (language.equals("he")) { // GUI TODO: modify when we'll support other RTL languages, such as Arabic and Farsi
+ if (language.equals("he") || language.equals("ar")) { // GUI TODO: modify when we'll support other RTL languages, such as Arabic and Farsi
_useRTL = true;
return;
}
Commit: 14d636216710fdfbf711c03d3970de4737f10bed
https://github.com/scummvm/scummvm/commit/14d636216710fdfbf711c03d3970de4737f10bed
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-03-26T01:51:08+01:00
Commit Message:
GUI: THEMES: Specify fonts for Arabic translation
Changed paths:
gui/themes/residualvm.zip
gui/themes/residualvm/remastered_gfx.stx
gui/themes/scummclassic.zip
gui/themes/scummmodern.zip
gui/themes/scummmodern/scummmodern_gfx.stx
gui/themes/scummremastered.zip
gui/themes/scummremastered/remastered_gfx.stx
diff --git a/gui/themes/residualvm.zip b/gui/themes/residualvm.zip
index 95c995ace52..2eec11d7bd4 100644
Binary files a/gui/themes/residualvm.zip and b/gui/themes/residualvm.zip differ
diff --git a/gui/themes/residualvm/remastered_gfx.stx b/gui/themes/residualvm/remastered_gfx.stx
index 8ccdfc9136e..0277e1b9fe4 100644
--- a/gui/themes/residualvm/remastered_gfx.stx
+++ b/gui/themes/residualvm/remastered_gfx.stx
@@ -146,6 +146,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Bold.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Bold.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Bold.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Bold.ttf'/>
<language id = '*' scalable_file = 'FreeSansBold.ttf'/>
</font>
<font id = 'text_default'
@@ -155,6 +156,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font resolution = 'y>=H'
@@ -164,6 +166,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Bold.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Bold.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Bold.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Bold.ttf'/>
<language id = '*' scalable_file = 'FreeSansBold.ttf'/>
</font>
<font id = 'text_button'
@@ -173,6 +176,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font resolution = 'y>=H'
@@ -182,6 +186,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font id = 'text_normal'
@@ -191,6 +196,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font id = 'tooltip_normal'
@@ -200,6 +206,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font resolution = 'y>799'
diff --git a/gui/themes/scummclassic.zip b/gui/themes/scummclassic.zip
index 74d9087035a..a1b1ad48440 100644
Binary files a/gui/themes/scummclassic.zip and b/gui/themes/scummclassic.zip differ
diff --git a/gui/themes/scummmodern.zip b/gui/themes/scummmodern.zip
index 098c601c024..6f94d901505 100644
Binary files a/gui/themes/scummmodern.zip and b/gui/themes/scummmodern.zip differ
diff --git a/gui/themes/scummmodern/scummmodern_gfx.stx b/gui/themes/scummmodern/scummmodern_gfx.stx
index 7b9377ef7b4..8b3619f9915 100644
--- a/gui/themes/scummmodern/scummmodern_gfx.stx
+++ b/gui/themes/scummmodern/scummmodern_gfx.stx
@@ -144,6 +144,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Bold.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Bold.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Bold.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Bold.ttf'/>
<language id = '*' scalable_file = 'FreeSansBold.ttf'/>
</font>
<font id = 'text_default'
@@ -153,6 +154,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font resolution = 'y>=H'
@@ -162,6 +164,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Bold.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Bold.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Bold.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Bold.ttf'/>
<language id = '*' scalable_file = 'FreeSansBold.ttf'/>
</font>
<font id = 'text_button'
@@ -171,6 +174,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font resolution = 'y>=H'
@@ -180,6 +184,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font id = 'text_normal'
@@ -189,6 +194,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font id = 'tooltip_normal'
@@ -198,6 +204,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeMonoBold.ttf'/>
</font>
<font resolution = 'y>799'
diff --git a/gui/themes/scummremastered.zip b/gui/themes/scummremastered.zip
index d609d75ada4..c1d818449a9 100644
Binary files a/gui/themes/scummremastered.zip and b/gui/themes/scummremastered.zip differ
diff --git a/gui/themes/scummremastered/remastered_gfx.stx b/gui/themes/scummremastered/remastered_gfx.stx
index 75563370103..4397fd721df 100644
--- a/gui/themes/scummremastered/remastered_gfx.stx
+++ b/gui/themes/scummremastered/remastered_gfx.stx
@@ -146,6 +146,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Bold.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Bold.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Bold.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Bold.ttf'/>
<language id = '*' scalable_file = 'FreeSansBold.ttf'/>
</font>
<font id = 'text_default'
@@ -155,6 +156,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font resolution = 'y>=H'
@@ -164,6 +166,8 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Bold.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Bold.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Bold.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Bold.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSansBold.ttf'/>
</font>
<font id = 'text_button'
@@ -173,6 +177,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font resolution = 'y>=H'
@@ -182,6 +187,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font id = 'text_normal'
@@ -191,6 +197,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font id = 'tooltip_normal'
@@ -200,6 +207,7 @@
<language id = 'ko' scalable_file = 'NotoSansKR-Regular.otf'/>
<language id = 'zh*' scalable_file = 'NotoSansTC-Regular.otf'/>
<language id = 'hi' scalable_file = 'NotoSans-Regular.ttf'/>
+ <language id = 'ar' scalable_file = 'NotoNaskhArabic-Regular.ttf'/>
<language id = '*' scalable_file = 'FreeSans.ttf'/>
</font>
<font resolution = 'y>799'
More information about the Scummvm-git-logs
mailing list