Hello,

On Sun, 18 May 2014, Peter Humphrey wrote:
>On Saturday 17 May 2014 13:21:08 David Haller wrote:
>> The Linux text-console font is also very good.
>Yes, except for one thing: the oblique stroke through the zero. That makes it 
>almost indistinguishable from an 8, to my poor eyes (one acute myopia, the 
>other even more acute astigmatism together with moderate myopia, and now both 
>being destroyed slowly by glaucoma).
>
>Some time ago I tried to find out where the VC font is defined, with
>a view to removing that oblique bar, but I ran out of steam before
>finding it. If anyone can shed any light on this I'd be grateful.

/usr/src/linux/drivers/video/console/font_*.c

e.g.: font_10x18.c

        /* 48 0x30 '0' */
        0x00, 0x00, /* 0000000000 */
        0x0e, 0x00, /* 0000111000 */
        0x1f, 0x00, /* 0001111100 */
        0x23, 0x00, /* 0010001100 */
        0x61, 0x80, /* 0110000110 */
        0x63, 0x80, /* 011000@110 */
        0x65, 0x80, /* 01100@0110 */
        0x65, 0x80, /* 01100@0110 */
        0x69, 0x80, /* 0110@00110 */
        0x69, 0x80, /* 0110@00110 */
        0x71, 0x80, /* 011@000110 */
        0x61, 0x00, /* 0110000100 */
        0x31, 0x00, /* 0011000100 */
        0x3e, 0x00, /* 0011111000 */
        0x1c, 0x00, /* 0001110000 */
        0x00, 0x00, /* 0000000000 */
        0x00, 0x00, /* 0000000000 */
        0x00, 0x00, /* 0000000000 */

There you have your "diagonal" (I marked i with "@" instead of "1").

Or it's the default8x16.psf[u][.gz] in /usr/share/kbd/consolefonts.

So, depending on which console-font you've chosen, edit the char of
the respective font and make a patch out of it (diff), so that you can
easily apply it to new kernels. Maybe make an overlay out of it ;)

I think, the kernel-builtin fonts are used until framebuffer and kbd
are loaded.

HTH,
-dnh

-- 
Math problems?  Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].

Reply via email to