lib/fonts/font_mini_4x6.c

Source file repositories/reference/linux-study-clean/lib/fonts/font_mini_4x6.c

File Facts

System
Linux kernel
Corpus path
lib/fonts/font_mini_4x6.c
Extension
.c
Size
55949 bytes
Lines
2160
Domain
Kernel Services
Bucket
lib
Inferred role
Kernel Services: implementation source
Status
source implementation candidate

Why This File Exists

Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.

Dependency Surface

Detected Declarations

Annotated Snippet

#!/usr/bin/perl -pn

s{((0x)?[0-9a-fA-F]+)(.*\[([\*\ ]{4})\])}{

	($num,$pat,$bits) = ($1,$3,$4);

	$bits =~ s/([^\s0])|(.)/ defined($1) + 0 /ge;

	$num = ord(pack("B8", $bits));
	$num |= $num >> 4;
	$num = sprintf("0x%.2x", $num);

	#print "$num,$pat,$bits\n";

	$num . $pat;
}ge;

__END__;
*/

/* Note: binary data consists of one byte for each row of each character top
   to bottom, character 0 to character 255, six bytes per character. Each
   byte contains the same four character bits in both nybbles.
   MSBit to LSBit = left to right.
 */

#include "font.h"

#define FONTDATAMAX 1536

static const struct font_data fontdata_mini_4x6 = {
	{ 0, 0, FONTDATAMAX, 0 }, {
	/*{*/
	  	/*   Char 0: ' '  */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0x00,	/*=  [    ]       */
	/*}*/
	/*{*/
	  	/*   Char 1: ' '  */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0x00,	/*=  [    ]       */
	/*}*/
	/*{*/
	  	/*   Char 2: ' '  */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0x00,	/*=  [    ]       */
	/*}*/
	/*{*/
	  	/*   Char 3: ' '  */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0x00,	/*=  [    ]       */
	/*}*/
	/*{*/
	  	/*   Char 4: ' '  */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0x00,	/*=  [    ]       */
	/*}*/
	/*{*/
	  	/*   Char 5: ' '  */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */
	0x00,	/*=  [    ]       */
	/*}*/
	/*{*/
	  	/*   Char 6: ' '  */
	0xee,	/*=  [*** ]       */
	0xee,	/*=  [*** ]       */

Annotation

Implementation Notes