chiark / gitweb /
An internal error message in printrule is improved slightly.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Apr 2016 23:10:55 +0000 (00:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Apr 2016 23:10:55 +0000 (00:10 +0100)
debian/changelog
printrule

index ee5bc6735171011322d2696bbee11f2d46ce01e8..19caf848f6fb0e2595e3398f2b756a5f87e4d5d0 100644 (file)
@@ -7,6 +7,7 @@ xfonts-traditional (1.7.2~~iwj) UNRELEASED; urgency=medium
     conversion; we don't undo this, yet.  So far, we just fix the quotes.)
   * Document in Description that we process some other font sizes too.
   * mkrules can consume .bdf.direct, or .sfd files.
+  * An internal error message in printrule is improved slightly.
 
  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 24 Apr 2016 22:07:21 +0100
 
index 4c16d9b4d451ee8bd138d165ba72cbbcc1c61d4a..e2db77cbf0c333eaf3894084bb55f5d3490566c5 100755 (executable)
--- a/printrule
+++ b/printrule
@@ -30,7 +30,7 @@ sub get ($) {
     }
     my $glyph='';
     for (my $y=0; $y<$height; $y++) {
-       <$f> =~ m/^([0-9a-f]+)$/i or die "$p $_ ?";
+       <$f> =~ m/^([0-9a-f]+)$/i or die "$y $height $p $_ ?";
        $glyph.="$1;";
     }
     $glyph =~ s/\;$//;