Re: [g-i] fonts: a few thoughts
> +# set the primary font accroding to $LANGUAGE
> +if [ "$DEBIAN_FRONTEND" = "gtk" ]; then
> + case "$LANGUAGE" in
> + ja)
> + echo 'gtk-font-name = "Sazanami Gothic 12"' > /etc/gtk-2.0/gtkrc
> + ;;
> + zh)
> + echo 'gtk-font-name = "AR PL ShanHeiSun Uni 12"' > /etc/gtk-2.0/gtkrc
[...]
I think this approach shows the root of the problems which occur when
one font provides glyphs for the scripts which is not primarily
targetted. If the primary font is changed then any glyph found in the
current font will be used instead of the wanted one (e.g.: primary
font is ja.ttf, and ja.ttf provides a glyph for t comma, but t comma
should be taken from the latin dedicated script)
Fortunately, on the way home from Extremadura I have tested the
modification which I done to the fontforge stripping script[1] in
order to be able to reverse selections. (By the way,
after line 37 there should be a shift command - somebody, please, add
it). The script works fine and I am confident that we will be able to
gain some space while fixing the fonts issue for many languages, too.
[1] http://svn.debian.org/wsvn/d-i/trunk/scripts/g-i/strip_glyphs.pe?op=blame&rev=0&sc=0
--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
Reply to: