Browse Source

video: indicate code page of bitmap fonts

Add comments clarifying that the bitmap fonts support code page 437.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Heinrich Schuchardt 6 years ago
parent
commit
5fba532954
3 changed files with 5 additions and 3 deletions
  1. 1 1
      drivers/video/vidconsole-uclass.c
  2. 2 2
      include/video_font_4x6.h
  3. 2 0
      include/video_font_data.h

+ 1 - 1
drivers/video/vidconsole-uclass.c

@@ -13,7 +13,7 @@
 #include <dm.h>
 #include <video.h>
 #include <video_console.h>
-#include <video_font.h>		/* Get font data, width and height */
+#include <video_font.h>		/* Bitmap font for code page 437 */
 
 /*
  * Structure to describe a console color

+ 2 - 2
include/video_font_4x6.h

@@ -1,5 +1,5 @@
-/* Hand composed "Minuscule" 4x6 font, with binary data generated using
- * Perl stub.
+/* Hand composed "Minuscule" 4x6 font for code page 437, with binary data
+ * generated using Perl stub.
  *
  * Use 'perl -x mini_4x6.c < mini_4x6.c > new_version.c' to regenerate
  * binary data.

+ 2 - 0
include/video_font_data.h

@@ -3,6 +3,8 @@
  * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
  *
  * SPDX-License-Identifier:	GPL-2.0+
+ *
+ * This file contains an 8x16 bitmap font for code page 437.
  */
 
 #ifndef _VIDEO_FONT_DATA_