On Monday 19 May 2014 12:29:09 David Haller wrote: > On Sun, 18 May 2014, Peter Humphrey wrote: > > 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").
Magic! Let me know when you're next in the Peak District and the drinks will be on me! > 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 -- Regards Peter