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

Re: [g-i] Indic scripts



On Wed, Feb 15, 2006 at 03:07:49PM +0100, Davide Viti wrote:
> This evening I'll put what follows into practice (i.e. new test iso 
> image).

just done it: you can grab it from [1]
 
> 3) It's also possible to strip the following (random) glyphs not
> used in the g-i (there are certainly others):
> 
> Mathematical Operators	(U+2200-U+22FF)
> Block Elements		(U+2580-U+259F)
> 
> ae_AlMohanad.ttf: u2202:u2265

Haven't done this since I've stripped only the tarballs

> DejaVuSans-Bold*.ttf: u2202:u2265 u2580:u259F

actually I meant DejaVuSans*.ttf

> Gargi_1.7.ttf: u2212 u2219
> Saab.ttf: u2212

Some weird messages happened during the stripping but let's just
move on for now :)
Here's the stats for usr/share/fonts:

----
FreeSansBold.ttf: 837 glyphs   [71964 bytes]
FreeSansOblique.ttf: 856 glyphs   [79056 bytes]
FreeSans.ttf: 1211 glyphs   [93644 bytes]
ae_AlMohanad.ttf: 446 glyphs   [120920 bytes]
ja.ttf: 733 glyphs   [146236 bytes]
ko.ttf: 701 glyphs   [119164 bytes]
zh.ttf: 1814 glyphs   [1176716 bytes]
MuktiNarrow_11-08-2005.ttf: 197 glyphs   [84556 bytes]
DejaVuSans-Bold.ttf: 822 glyphs   [99084 bytes]
DejaVuSans-Oblique.ttf: 823 glyphs   [105052 bytes]
DejaVuSans.ttf: 822 glyphs   [108252 bytes]
Gargi_1.7.ttf: 236 glyphs   [74116 bytes]
Saab.ttf: 137 glyphs   [105492 bytes]

Font files: 13
Total size: 2384252 bytes
Unique Glyphs: 4565
Bytes per glyph: 522

Generating unicode map file...

----

The size of mini.iso went from 10674176 bytes to 9512960 bytes
I took some screenshoots using Attilio's tool and to me looks
like things changed the right way: I'd like to hear from native
speakers.

bengali: compare [2] with [3]
hindi: compare [4] with [5]
punjabi: compare [6] with [7]

I removed only BoldOblique. Let's say this was a minimal cleanup without
risks. Obviously we can strip alot more but we can't expect to gain alot more space:
the iso containing _only_ nazli is 8185856 bytes, so I guess we can use that as lower
limit...

If you want to avoid going through the all process of stripping the fonts, you can get
a tarball [8] with all the stripped tarballs (it's recursive :)) 

regards,
Davide

PS: Christian, I noticed that hi.po does not contain the "/Choose language" in the msgstr;
now I understand why it is useful

[1] http://www.webalice.it/zinosat/g-i/mini_20060215.iso

[2] http://www.webalice.it/zinosat/shots/bengali_pre.jpg
[3] http://www.webalice.it/zinosat/shots/bengali_post.jpg

[4] http://www.webalice.it/zinosat/shots/hindi_pre.jpg
[5] http://www.webalice.it/zinosat/shots/hindi_post.jpg

[6] http://www.webalice.it/zinosat/shots/punjabi_pre.jpg
[7] http://www.webalice.it/zinosat/shots/punjabi_post.jpg

[8] http://www.webalice.it/zinosat/gi-fonts_0.1.tgz

Attachment: signature.asc
Description: Digital signature


Reply to: