Package: ttf-tmuni Version: 1.901b-1 Severity: wishlist Tags: patch
The attached patch, greatly simplifies the stripping process of glyphs belonging to high ranges (>FFFF). It was applied to ttf-dejavu and ttf-freefont first, and I'd like to see it applied to all the packages using strip_glyphs.pe
diff --git a/ttf-tmuni-1.901b/debian/changelog b/ttf-tmuni-1.901b/debian/changelog index 9de5b53..2f774c4 100644 --- a/ttf-tmuni-1.901b/debian/changelog +++ b/ttf-tmuni-1.901b/debian/changelog @@ -1,3 +1,9 @@ +ttf-tmuni (1.901b-2) unstable; urgency=low + + * strip_glyphs.pe: Re-encode files as "unicodeFull" + + -- root <zino...@tiscali.it> Mon, 13 Jul 2009 22:45:56 +0200 + ttf-tmuni (1.901b-1) unstable; urgency=medium [ Tom Soderlund ] diff --git a/ttf-tmuni-1.901b/debian/scripts/strip b/ttf-tmuni-1.901b/debian/scripts/strip index 047e352..7488314 100644 --- a/ttf-tmuni-1.901b/debian/scripts/strip +++ b/ttf-tmuni-1.901b/debian/scripts/strip @@ -24,8 +24,8 @@ if [ -z "$2" ] ; then exit 1 fi -ranges="$ranges u2070:u209F" -ranges="$ranges u2190:u21FF" -ranges="$ranges uF0031:uF15B2" +ranges="$ranges u2070:u209F" # Superscripts and Subscripts +ranges="$ranges u2190:u21FF" # Arrows +ranges="$ranges uF0000:uFFFFF" # Supplementary Private Use Area-A $strip $1 $2 $ranges diff --git a/ttf-tmuni-1.901b/debian/scripts/strip_glyphs.pe b/ttf-tmuni-1.901b/debian/scripts/strip_glyphs.pe index b0c42e4..72004bb 100644 --- a/ttf-tmuni-1.901b/debian/scripts/strip_glyphs.pe +++ b/ttf-tmuni-1.901b/debian/scripts/strip_glyphs.pe @@ -34,7 +34,7 @@ endif Open($1); shift -Reencode("unicode") +Reencode("unicodeFull") out = $1; shift #
signature.asc
Description: Digital signature