From 6b6fa0191e4629c1ee2c29664c0b2c314d85ff91 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 11 Jul 2014 22:08:01 -0400 Subject: write_fbcon(): Set undefined bitmaps to 0 --- (limited to 'bin/bdf2fbcon') diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon index 0d4d99c..bf4f047 100755 --- a/bin/bdf2fbcon +++ b/bin/bdf2fbcon @@ -315,6 +315,7 @@ sub write_fbcon $i, $i, $char->{'name'}); for ($j = 0; $j < $font->{'height'}; ++$j) { $bitmap = $char->{'bitmap'}[$i]; + $bitmap = 0 unless ($bitmap); printf($output_fh "\t"); $bitmap <<= $bytes_x * 8 - $font->{'width'}; for (my $k = ($bytes_x - 1) * 8; $k >= 0; $k -= 8) { -- cgit v0.9.1