I've posted some results on my page where it's clear the ttf file needs to be stripped; as a first step we could remove the glyphs which were not on the previous version of the package; with the help of native speakers, we could then remove more unneeded ranges.
Stripping glyphs
Package files can be found here; no sfd files are available, so we need to strip directly ttf files.
The latest version of strip_glyphs.pe can be checked out as follows
svn cat svn://svn.debian.org/svn/d-i/trunk/scripts/g-i/strip_glyphs.pe
it was modified as to support both ttf and sfd formats (the version used in ttf-dejavu works only with sfd, the version used in ttf-sil-abyssinica-1.0 works only with ttf files)
fntsample -f TibetanMachineUniAlpha.ttf -o old.pdf -l > old.outline fntsample -f TibMachUni-1.901b.ttf -o new.pdf -l > new.outline cat old.outline | sed "s:[0-9]\+ [0-9]\+ ::" > o.outline cat new.outline | sed "s:[0-9]\+ [0-9]\+ ::" > n.outline diff -u o.outline n.outline
So, latest release includes the following new ranges (with some help from /usr/share/unicode/Blocks.txt)
- Superscripts and Subscripts (2070..209F)
- Arrows (2190..21FF)
- Supplementary Private Use Area-A (F0000..FFFFF)
fontforge -script strip_glyphs.pe --format ttf --input TibMachUni-1.901b.ttf --output out.ttf --glyphs u2070:u209F u2190:u21FF uF0031:uF15B2 zino@crap:~/fonts/tibetan/strip$ ls -la *.ttf -rw-r--r-- 1 zino zino 1403200 2008-07-28 17:34 out.ttf -rw-r--r-- 1 zino zino 4511176 2008-07-28 17:10 TibMachUni-1.901b.ttf
I've filed #518331 including a patch to strip out the extra glyphs