ansilove.js

A script to display ANSi and artscene related file formats on web pages
Log | Files | Refs | README | LICENSE

commit 4c5993c846ed2d2f6153d37e0db72808d9b50dfe
parent c41a02a31f07f94ef6dcde4855939a48640d2618
Author: Andy Herbert <andy.herbert@gmail.com>
Date:   Tue, 29 Oct 2013 19:15:05 +0000

Fixed thumbnail rendering for 4x8 font.

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

diff --git a/ansilove.js b/ansilove.js @@ -572,7 +572,7 @@ var AnsiLove = (function () { font = raw.font || altFont || Font.preset("80x25"); - if ((font.getWidth() === 9 && options.bits !== "9") || options.thumbnail) { + if (font.getWidth() === 9 && (options.bits !== "9" || options.thumbnail)) { font.setWidth(8); }