tags 443043 + patch thanks Hi,
The attached patch fixes this problem. Ana
diff -Nru /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/debian/changelog /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/debian/changelog --- /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/debian/changelog 2007-07-06 02:07:53.000000000 +0200 +++ /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/debian/changelog 2007-09-29 18:08:20.000000000 +0200 @@ -1,3 +1,10 @@ +ttf-cjk-compact (1.11) unstable; urgency=low + + * Add extension .ff to the script ConvertFont name, adapting it to the new + fontforge version. (Closes: #443043) + + -- Ana Beatriz Guerrero Lopez <[EMAIL PROTECTED]> Sat, 29 Sep 2007 18:07:17 +0200 + ttf-cjk-compact (1.10) unstable; urgency=low * Update at Fri Jul 6 00:07:37 UTC 2007 diff -Nru /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/makettf /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/makettf --- /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/makettf 2006-10-26 07:46:55.000000000 +0200 +++ /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/makettf 2007-09-29 18:10:30.000000000 +0200 @@ -34,8 +34,8 @@ if [ "$3" = "1" ]; then echo "embedded bitmap: enable" - $STRIPTTF-with-bitmap $basefont $EXPORTDIR/$lang.ttf $(sort -n $TMPDIR/$lang | uniq) + $STRIPTTF-with-bitmap.ff $basefont $EXPORTDIR/$lang.ttf $(sort -n $TMPDIR/$lang | uniq) else echo "embedded bitmap: disable" - $STRIPTTF $basefont $EXPORTDIR/$lang.ttf $(sort -n $TMPDIR/$lang | uniq) + $STRIPTTF.ff $basefont $EXPORTDIR/$lang.ttf $(sort -n $TMPDIR/$lang | uniq) fi diff -Nru /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/stripttf /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/stripttf --- /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/stripttf 2005-12-06 11:30:50.000000000 +0100 +++ /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/stripttf 1970-01-01 01:00:00.000000000 +0100 @@ -1,40 +0,0 @@ -#! /usr/bin/fontforge -# -# stripttf - Strip TrueType font of unused characters -# -# Copyright (c) 2005 Hidetaka Iwai <[EMAIL PROTECTED]> -# - -if ($argc < 4) - Print( "Usage: stripttf in out used_codepoint..." ) - Quit() -endif - -Open($1); shift -Reencode("unicode") -out = $1; shift - -# Get the size of array from the last argument -# (to do this, the given list must be sorted) -num = Strtol($argv[$argc - 1]) + 1 - -# Create an array to select used characters. -used = Array(num) - -# Select used characters according to the given list -i = 0 -while (i < num && $argc > 1) - if (i == Strtol($1)) - used[i] = 1; shift - else - used[i] = 0 - endif - ++i -endloop - -# Remove unused characters. -Select(used); SelectInvert(); Clear() - -# Output the result -Generate(out, "") -Quit() diff -Nru /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/stripttf.ff /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/stripttf.ff --- /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/stripttf.ff 1970-01-01 01:00:00.000000000 +0100 +++ /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/stripttf.ff 2007-09-29 18:09:52.000000000 +0200 @@ -0,0 +1,40 @@ +#! /usr/bin/fontforge +# +# stripttf - Strip TrueType font of unused characters +# +# Copyright (c) 2005 Hidetaka Iwai <[EMAIL PROTECTED]> +# + +if ($argc < 4) + Print( "Usage: stripttf in out used_codepoint..." ) + Quit() +endif + +Open($1); shift +Reencode("unicode") +out = $1; shift + +# Get the size of array from the last argument +# (to do this, the given list must be sorted) +num = Strtol($argv[$argc - 1]) + 1 + +# Create an array to select used characters. +used = Array(num) + +# Select used characters according to the given list +i = 0 +while (i < num && $argc > 1) + if (i == Strtol($1)) + used[i] = 1; shift + else + used[i] = 0 + endif + ++i +endloop + +# Remove unused characters. +Select(used); SelectInvert(); Clear() + +# Output the result +Generate(out, "") +Quit() diff -Nru /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/stripttf-with-bitmap /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/stripttf-with-bitmap --- /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/stripttf-with-bitmap 2005-12-14 11:07:27.000000000 +0100 +++ /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/stripttf-with-bitmap 1970-01-01 01:00:00.000000000 +0100 @@ -1,46 +0,0 @@ -#! /usr/bin/fontforge -# -# stripttf - Strip TrueType font of unused characters -# -# Copyright (c) 2005 Hidetaka Iwai <[EMAIL PROTECTED]> -# - -if ($argc < 4) - Print( "Usage: stripttf in out used_codepoint..." ) - Quit() -endif - -Open($1); shift -Reencode("unicode") -out = $1; shift - -# Get the size of array from the last argument -# (to do this, the given list must be sorted) -num = Strtol($argv[$argc - 1]) + 1 - -# Create an array to select used characters. -used = Array(num) - -# Select used characters according to the given list -i = 0 -while (i < num && $argc > 1) - if (i == Strtol($1)) - used[i] = 1; shift - else - used[i] = 0 - endif - ++i -endloop - -# Remove unused characters. -Select(used); SelectInvert(); Clear() - -size = Array(2) -# Bitmap point -size[0] = 12 -size[1] = 16 - -# Output the result -BitmapsAvail(size) -Generate(out, "ttf") -Quit() diff -Nru /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/stripttf-with-bitmap.ff /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/stripttf-with-bitmap.ff --- /tmp/3ezdYc5Qcm/ttf-cjk-compact-1.10/stripttf-with-bitmap.ff 1970-01-01 01:00:00.000000000 +0100 +++ /tmp/ugOA4NRCZi/ttf-cjk-compact-1.11/stripttf-with-bitmap.ff 2007-09-29 18:09:56.000000000 +0200 @@ -0,0 +1,46 @@ +#! /usr/bin/fontforge +# +# stripttf - Strip TrueType font of unused characters +# +# Copyright (c) 2005 Hidetaka Iwai <[EMAIL PROTECTED]> +# + +if ($argc < 4) + Print( "Usage: stripttf in out used_codepoint..." ) + Quit() +endif + +Open($1); shift +Reencode("unicode") +out = $1; shift + +# Get the size of array from the last argument +# (to do this, the given list must be sorted) +num = Strtol($argv[$argc - 1]) + 1 + +# Create an array to select used characters. +used = Array(num) + +# Select used characters according to the given list +i = 0 +while (i < num && $argc > 1) + if (i == Strtol($1)) + used[i] = 1; shift + else + used[i] = 0 + endif + ++i +endloop + +# Remove unused characters. +Select(used); SelectInvert(); Clear() + +size = Array(2) +# Bitmap point +size[0] = 12 +size[1] = 16 + +# Output the result +BitmapsAvail(size) +Generate(out, "ttf") +Quit()