[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-fonts-devel] Bug#911705: #911705 [l10n|gu] debian-installer: fonts broken for Gujarati



Hi,

Jonas Smedegaard <jonas@jones.dk> wrote:
> Quoting Holger Wansing (2018-12-02 20:40:15)
> > > An alternative is for Gujarati to use fonts-noto.  If relevant, then
> > > I'd be happy to extend the fonts-noto udeb as needed, but it needs 
> > > someone who actually understand Gujarati to proof-read if using Noto is 
> > > not inferior to the previous Freefont display, 
> > 
> > I'm pretty sure, Kartik Mistry would be able to help here (Gujarati 
> > translator).
> > 
> > > and it needs someone 
> > > (you, Holger?) to help generate something for those Gujarati experts to 
> > > proof-read.
> > 
> > I looked into this:
> > Font selection is done in rootskel-gtk, and i added a variant for gu 
> > like this:
> > 
> > ----- snip ------
> > # Set the primary GTK font according to language
> > FONT_NAME=$DEFAULT_FONT
> > case "$language" in
> >     ar|fa)
> >         FONT_NAME="Nazli"
> >         FONT_SIZE=$(($FONT_SIZE + 2))
> >         ;;
> >     am)
> >         FONT_NAME="Abyssinica SIL"
> >         FONT_SIZE=$(($FONT_SIZE + 1))
> >         ;;
> >     dz|bo)
> >         FONT_NAME="Tibetan Machine Uni"
> >         FONT_SIZE=$(($FONT_SIZE + 2))
> >         ;;
> >     gu)
> >         FONT_NAME="Noto Sans Gujarati"
> >         FONT_SIZE=$(($FONT_SIZE + 2))
> >     ja)
> >         FONT_NAME="VL Gothic"
> >         ;;
> >     km)
> >         FONT_NAME="Khmer OS System"
> >         FONT_SIZE=$(($FONT_SIZE + 1))
> >         ;;
> >     kn)
> >         FONT_SIZE=$(($FONT_SIZE + 1))
> >         ;;
> >     ko)
> >         FONT_NAME="UnDotum"
> >         ;;
> >     pa)
> >         FONT_NAME="Lohit Punjabi"
> >         ;;
> >     si)
> >         FONT_NAME="Noto Sans Sinhala"
> >         ;;
> >     ta)
> >         FONT_NAME="TSCu_Paranar"
> >         FONT_SIZE=$(($FONT_SIZE + 2))
> >         ;;
> >     th)
> >         FONT_NAME="Loma"
> >         FONT_SIZE=$(($FONT_SIZE + 2))
> >         ;;
> >     ug)
> >         FONT_NAME="UKIJ Tuz"
> >         FONT_SIZE=$(($FONT_SIZE + 1))
> >         ;;
> >     zh*)
> >         FONT_NAME="AR PL ShanHeiSun Uni"
> >         ;;
> >     bn|hi|ml|mr|ne)
> >         FONT_SIZE=$(($FONT_SIZE + 2))
> >         ;;
> > esac
> > ----- snap ------
> > 
> > However, this does not work, Gujarati is still unreadable.
> > (With the above changing I re-built the package and used it as localudeb
> > for building a netboot-gtk image.)
> > Is "Noto Sans Gujarati" correct, as shown above?
> 
> As I mention in above quote, fonts-noto udeb need to extended to include 
> Gujarati, because that udeb should only contain what is actually used - 
> see bug#837926.

Ah, ok.

> You want me to add Noto Sans Gujarati to the udeb?

I would prefer to have such udeb only locally here first, since that would
only be a first attempt. Maybe you can sent it to this bug, rather than
committing it to git?

Thanks

Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Finterprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076


Reply to: