Hi,

following mail from Kartik says, the screenshot from
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911705#55
are all fine, while Noto Serif Gujarati is the best:



====== snip =============
Date: Fri, 7 Dec 2018 19:30:56 +0530
From: Kartik Mistry <kar...@debian.org>
To: hwans...@mailbox.org
Subject: Re: [debian-installer] Gujarati not usable, font broken or missing


On Fri, Dec 7, 2018 at 7:12 PM Holger Wansing <hwans...@mailbox.org> wrote:
> may I get your attention on bug #915825:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915825.

Hi,

Sorry for ignoring this long time and thanks a lot for your work on
this! I was suppose to reply this and then had to move home in hurry
:/

> As I wrote there, I cannot see any difference on the three fonts
> "Noto Sans Gujarati", "Noto Sans Gujarati UI" and "Noto Serif Gujarati" in
> those screenshots.
> Can you?
> If yes, which one is best?

You can go ahead with any of these. All seems working fine. However,
Noto Serif Gujarati seems the best.

Thanks again!

-- 
Kartik Mistry | IRC: kart_
{0x1f1f, kartikm}.wordpress.com
====== snap ==============




So, I sent a patch here, how to build an image with working Gujarati font.
It's only a workaround though, since the image size is increased massively
by this.

In case we want this solution to become permanent, Jonas volunteered to add
the needed font to fonts-noto-hinted-udeb (instead of the
fonts-noto-unhinted-udeb used in this patch).

Hint: fonts-noto-unhinted-udeb version 20181130-1 is needed for this patch
to work.


Holger


-- 
Holger Wansing <hwans...@mailbox.org>
PGP-Finterprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076
diff --git a/src/usr/bin/gtk-set-font b/src/usr/bin/gtk-set-font
index 9e7cd89..1631340 100644
--- a/src/usr/bin/gtk-set-font
+++ b/src/usr/bin/gtk-set-font
@@ -41,6 +41,10 @@ case "$language" in
 	FONT_NAME="Tibetan Machine Uni"
 	FONT_SIZE=$(($FONT_SIZE + 2))
 	;;
+    gu)
+	FONT_NAME="Noto Serif Gujarati"
+	FONT_SIZE=$(($FONT_SIZE + 2))
+	;;
     ja)
 	FONT_NAME="VL Gothic"
 	;;
@@ -75,7 +79,7 @@ case "$language" in
     zh*)
 	FONT_NAME="AR PL ShanHeiSun Uni"
 	;;
-    bn|gu|hi|ml|mr|ne)
+    bn|hi|ml|mr|ne)
 	FONT_SIZE=$(($FONT_SIZE + 2))
 	;;
 esac
diff --git a/build/pkg-lists/gtk-common b/build/pkg-lists/gtk-common
index 69bfbc2e2..55f433962 100644
--- a/build/pkg-lists/gtk-common
+++ b/build/pkg-lists/gtk-common
@@ -21,6 +21,8 @@ fonts-telu-udeb
 fonts-sil-abyssinica-udeb
 # For Sinhala
 fonts-noto-hinted-udeb
+# Workaround for Gujarati
+fonts-noto-unhinted-udeb
 fonts-lao-udeb
 fonts-ukij-uyghur-udeb
 fonts-sil-padauk-udeb

Reply via email to