Hi,

I've commit a patch to make ftdump support -c, show charmap contents.
With that, and the simple script `cmaptest' which can be found in the
attachment, you can easily test if things still work correctly.

The usage is ./cmaptest <fonts-dir> and it will show the differences.
Note that it assumes there is an unmodified version of freetype under
/usr/lib.

-- 
Regards,
olv
#!/bin/sh

[ -d $1 ] || exit

for i in $1/*.{ttf,TTF,ttc,TTC,otf,OTF}
do
  [ -f "$i" ] || continue

  fn=`basename "$i"`
  echo "testing $fn"

  LD_LIBRARY_PATH=/usr/lib ftdump -c -c "$i" > "$fn".old
  ftdump -c -c "$i" > "$fn".new

  diff -u "$fn".old "$fn".new || echo
  rm "$fn".old "$fn".new
done
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to