ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 54f6b7e76aeeb249c4dd4258d456aed2e729edd5
parent 2ca1f8764ec650443fddbe00cd650095033d33d7
Author: Brian Cassidy <bricas@cpan.org>
Date:   Thu, 29 Mar 2012 15:41:54 -0300

fix incorrect assumption that xbin fonts are 16 lines high

Diffstat:
Mansilove/ansilove.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansilove/ansilove.c b/ansilove/ansilove.c @@ -2124,7 +2124,7 @@ void alXbinLoader(char *input, char output[], char bits[]) color_background = (attribute & 240) >> 4; color_foreground = attribute & 15; - alDrawChar(im_XBIN, font_data, 8, 8, 16, position_x, position_y, colors[color_background], colors[color_foreground], character); + alDrawChar(im_XBIN, font_data, 8, 8, xbin_fontsize, position_x, position_y, colors[color_background], colors[color_foreground], character); position_x++; offset+=2;