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

Holger Wansing hwansing at mailbox.org
Fri Dec 7 13:15:32 GMT 2018


Jonas Smedegaard <jonas at jones.dk> wrote:
> Quoting Holger Wansing (2018-12-07 08:46:37)
> > Jonas Smedegaard <jonas at jones.dk> wrote:
> > > The UI variant is likely irrelevant: It is a font optimized for use 
> > > in UI elements like menus where uniform height has higher priority 
> > > than whatever is the normal spacing dynamic in regular texts.
> > > 
> > > A quick search for samples led me to 
> > > https://fontinfo.opensuse.org/fonts/NotoSansGujaratiRegular.html and 
> > > https://fontinfo.opensuse.org/fonts/NotoSerifGujaratiRegular.html 
> > > which (especially when zoomed in and comparing the largest samples) 
> > > show slight difference e.g. in the "middle" glyf (to me looking like 
> > > an elefant at a lake with a candle on its head...)
> > > 
> > > Which is best I cannot tell.  Kartik, we need your input :-)
> [..]
> > There is something going wrong with my font selection patch in 
> > rootskel-gtk, it has no effect at all. Don't know what I am doing 
> > wrong.
> > No matter which variant of
> >          FONT_NAME="Noto Sans Gujarati"
> >          FONT_NAME="Noto Sans Gujarati UI"
> >          FONT_NAME="Noto Serif Gujarati"
> > I use, the used font is always the same.
> Did you see my comments on that above?  Are you sure the differences are 
> not simply _extremely_ small?

Yes, that's probably possible. I need to validate this.
Interestingly, when I don't set at all which font to use for gu, I get the 
same result, at least at a first glance: I see the glyphs which can be seen
on the screenshots you got. In contrary, when I build an installer image
without the noto-fonts-unhinted-udeb package included, I get the TOFU
placeholder signs inserted for all gu character.
That makes me think that font selection via the gtk-set-font script does not 
work here for whatever reason and some default is selected.

Maybe I can get some debugging output from the script, which builds the
installer image, telling me what font is used for which language?
Or maybe there is a way to get a relevant output when running the installer
in Gujarati, from virtual console from example? I knew some similar way to
output which font is used in a pdf document. Of course, the tools and
possibilities inside of the running installer for such observations are 
extremly limited I suspect.

Will see, maybe kibi can comment on this...


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

More information about the Pkg-fonts-devel mailing list