diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pbmfont.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/pbmfont.h b/lib/pbmfont.h index d287bc6c..a977a11f 100644 --- a/lib/pbmfont.h +++ b/lib/pbmfont.h @@ -16,15 +16,17 @@ struct glyph { unsigned int width; unsigned int height; /* The dimensions of the central glyph, i.e. the 'bmap' array */ - unsigned int x; + int x; /* Width in pixels of the white left border of this glyph. This can actually be negative to indicate that the central glyph backs up over the previous character in the line. In that case, if there is no previous character in the line, it is as if 'x' is 0. */ - unsigned int y; - /* Height in pixels of the white bottom border of this glyph */ + int y; + /* Height in pixels of the white bottom border of this glyph. + Can be negative. + */ unsigned int xadd; /* Width of glyph -- white left border plus central glyph plus white right border |