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

Re: [RFC] Stripping Latin range in fonts used by g-i installer?



On Tuesday 08 January 2008, Christian Perrier wrote:
> Quoting Otavio Salvador (otavio@debian.org):
> > > The udeb size goes from 220768 bytes to 183090 bytes
> >
> > Impressive!
>
> Im waiting for some ACK by others to propose the strip patch to the
> font maintainer.

I think such stripping can only be done after testing inside the installer 
to see how it changes the display.
This can only really be done correctly after gtk-set-font has been modified 
to select the correct font for the language. Needed changes are fairly 
trivial so it should be possible to test this using a local build.

One thing that could affect the correct display of Latin characters is which 
font fontconfig will select as the "fallback" font. It looks like FreeSans 
may be preferred over DejaVu Sans for most fonts (see attachment).


Hmmmm.
I just see that when you first select Dzongkha and then switch back to 
English, the font size isn't reduced back to its default value. IIRC that 
used to work...
Font size _is_ changed if I switch to Dutch or Esperanto. Completely weird 
as in both cases /etc/gtk-2.0/gtkrc is modified correctly.

And the Change debconf priority option is unusable at the higher font size.

# for i in $(fc-list | cut -d: -f1 | sort -u); do echo "Prefs for $i"; fc-match --sort "$i" | head -n4; echo; done

Prefs for DejaVu Sans
DejaVuSans.ttf: "DejaVu Sans" "Book"
FreeSans.ttf: "FreeSans" "Medium"
ja.ttf: "VL Gothic" "regular"
zh.ttf: "AR PL ShanHeiSun Uni" "Regular"

Prefs for FreeSans
FreeSans.ttf: "FreeSans" "Medium"
FreeSansBold.ttf: "FreeSans" "Bold"
DejaVuSans.ttf: "DejaVu Sans" "Book"
ja.ttf: "VL Gothic" "regular"

Prefs for AR PL ShanHeiSun Uni,文鼎PL細上海宋Uni,文鼎PL细上海宋Uni
zh.ttf: "AR PL ShanHeiSun Uni" "Regular"
FreeSans.ttf: "FreeSans" "Medium"
DejaVuSans.ttf: "DejaVu Sans" "Book"
ja.ttf: "VL Gothic" "regular"

Prefs for Khmer OS System
KhmerOSsys.ttf: "Khmer OS System" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
ja.ttf: "VL Gothic" "regular"
zh.ttf: "AR PL ShanHeiSun Uni" "Regular"

Prefs for Loma
Loma.ttf: "Loma" "Book"
FreeSans.ttf: "FreeSans" "Medium"
DejaVuSans.ttf: "DejaVu Sans" "Book"
ja.ttf: "VL Gothic" "regular"

Prefs for Nazli
nazli.ttf: "Nazli" "Regular"
FreeSans.ttf: "FreeSans" "Medium"
DejaVuSans.ttf: "DejaVu Sans" "Book"
ja.ttf: "VL Gothic" "regular"

Prefs for Rachana_w01
Rachana_w01.ttf: "Rachana_w01" "Regular"
FreeSans.ttf: "FreeSans" "Medium"
DejaVuSans.ttf: "DejaVu Sans" "Book"
ja.ttf: "VL Gothic" "regular"

Prefs for TSCu_Paranar
TSCu_Paranar.ttf: "TSCu_Paranar" "Regular"
FreeSans.ttf: "FreeSans" "Medium"
DejaVuSans.ttf: "DejaVu Sans" "Book"
ja.ttf: "VL Gothic" "regular"

Prefs for Tibetan Machine Uni
TibetanMachineUniAlpha.ttf: "Tibetan Machine Uni" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
ja.ttf: "VL Gothic" "regular"
zh.ttf: "AR PL ShanHeiSun Uni" "Regular"

Prefs for UnDotum,은 돋움
ko.ttf: "UnDotum" "Regular"
FreeSans.ttf: "FreeSans" "Medium"
DejaVuSans.ttf: "DejaVu Sans" "Book"
ja.ttf: "VL Gothic" "regular"

Prefs for VL Gothic,VL ゴシック
ja.ttf: "VL Gothic" "regular"
FreeSans.ttf: "FreeSans" "Medium"
DejaVuSans.ttf: "DejaVu Sans" "Book"
zh.ttf: "AR PL ShanHeiSun Uni" "Regular"

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: