X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=bdfnorm;h=bbca464d601aefdb6c8ec052c18c8bc973899193;hb=600129d8791496caf36ead1f1350657b8e2d4d7c;hp=0b02834fc73db64a9f3b2795ed8c26176e1aeb2a;hpb=5491400b4de323a0e0f1ae91c44fd2129634b848;p=xfonts-traditional.git diff --git a/bdfnorm b/bdfnorm index 0b02834..bbca464 100755 --- a/bdfnorm +++ b/bdfnorm @@ -1,5 +1,12 @@ #!/usr/bin/perl -w +# BDF can represent glyphs as smaller bitmap rectangles with padding. +# But our approach to font editing works best if the glyphs are the +# full character cell. Although most fonts do not use this feature +# (at least, as seen in pdf2bdf output), some do, and also output from +# fontforge does. So this script pads each glyph to the font bounding +# box. + use strict; use POSIX;