Sistema l'errore da me commesso in fase di conversione...
[bertos.git] / fonts / convbdf
old mode 100755 (executable)
new mode 100644 (file)
index 8b53ed9..61307cd
@@ -15,7 +15,7 @@ if ($#ARGV < 0) {
        exit -1;
 }
 
-$LAST_CHAR = 0x7e;
+$LAST_CHAR = 0xff;
 $IMAGE_BITS = 8;
 $IMAGE_NIBBLES = $IMAGE_BITS/4;
 $IMAGE_MASK = 0xff;
@@ -24,6 +24,7 @@ $IMAGE_VERTICAL = 1;
 $file = $ARGV[0];
 
 $font = $file;
+$font =~ s#.*/##; # remove path name
 $font =~ s/\.bdf//;
 $font =~ tr/a-zA-Z0-9_/_/cs;