#! /bin/bash 2> /dev/null exepath=$(dirname $0) strip=$exepath/strip_glyphs.pe if [ $# -ne 2 ] ; then echo "Usage: $(basename $0) fontfile_in fontfile_out" exit 0 fi if [ ! -x "$strip" ] ; then echo "Script not found: $strip" exit 1 fi if [ ! -f "$1" ] ; then echo "File does not exist: $1" exit 1 fi if [ -z "$2" ] ; then echo "You need to specify the output file" exit 1 fi ranges="$ranges u2070:u209F" ranges="$ranges u2190:u21FF" ranges="$ranges uF0031:uF15B2" $strip $1 $2 $ranges