X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fvideo_font_4x6.h;h=64c5ed2eda41ef793c1840b4a2de432a211ffc65;hb=696f02d99b41190786b17ad28316a0cd45792c2c;hp=d1778d5b5be11cee55b08e35772ceda3a0e55bce;hpb=785566312551ee0c3c7e352cb93f30998ebcdd16;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/video_font_4x6.h b/include/video_font_4x6.h index d1778d5..64c5ed2 100644 --- a/include/video_font_4x6.h +++ b/include/video_font_4x6.h @@ -1,6 +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. @@ -18,15 +17,15 @@ 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;