public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: David Haller <gentoo@dhaller.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Fonts and bad eyes
Date: Mon, 19 May 2014 12:29:09 +0200	[thread overview]
Message-ID: <20140519102909.GC22577@grusum.endjinn.de> (raw)
In-Reply-To: <2405187.9XDhPA9iIP@wstn>

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	other threads:[~2014-05-19 10:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-17  7:17 [gentoo-user] Fonts and bad eyes Dale
2014-05-17 11:21 ` David Haller
2014-05-17 23:13   ` Peter Humphrey
2014-05-19 10:29     ` David Haller [this message]
2014-05-19 11:59       ` Peter Humphrey
2014-05-18  1:17   ` Walter Dnes
2014-05-19 10:23     ` David Haller
2014-05-21  6:22       ` Walter Dnes
2014-05-21  9:28         ` Peter Humphrey
2014-05-21 14:34           ` Peter Humphrey
2014-05-17 12:52 ` Philip Webb
2014-05-17 13:58 ` Peter Humphrey
2014-05-19 11:56   ` Frank Steinmetzger
2014-05-17 14:43 ` wabenbau
2014-05-19 11:52   ` [gentoo-user] OT: PNG MIMI type Frank Steinmetzger
2014-05-25 19:27     ` wabenbau
2014-05-21  9:48 ` [gentoo-user] Fonts and bad eyes Benjamin Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140519102909.GC22577@grusum.endjinn.de \
    --to=gentoo@dhaller.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox