Date: Tue, 2 Sep 1997 04:30:01 -0700 (PDT) From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> To: freebsd-bugs Subject: Re: kern/4416: syscons: problem with font Message-ID: <199709021130.EAA01410@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/4416; it has been noted by GNATS. From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> To: eserte@cs.tu-berlin.de Cc: FreeBSD-gnats-submit@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: kern/4416: syscons: problem with font Date: Tue, 02 Sep 1997 20:30:37 +0900 >>Number: 4416 >>Category: kern >>Synopsis: syscons: problem with font >>Confidential: no >>Severity: serious >>Priority: medium >>Responsible: freebsd-bugs >>State: open >>Class: sw-bug >>Submitter-Id: current-users >>Arrival-Date: Fri Aug 29 07:20:00 PDT 1997 >>Last-Modified: >>Originator: Slaven Rezic >>Organization: >Private FreeBSD site, Berlin, Germany >>Release: FreeBSD 2.2.1-RELEASE i386 >>Environment: > >>Description: > > I created a new font and found, that the characters from 0xc0 > to 0xdf are not shown correctly: if the right-most bit is set, > this pixel appears to be twice as wide. This is not a bug in syscons. Rather it's a strange feature of MDA/EGA/VGA graphics card. Character fonts for these cards are 8-bit wide, but are displayed in 9-bit wide cells on the screen, so that adjacent characters are comfortably(?) separated by one dot. This would be good for alphanumeric letters. Character codes between 0xc0 and 0xdf are "graphics" characters (lines) in the US character sets (CP437) and many other sets. This extra spacing will be rather annoying for these characters because adjacent line characters won't be connected if one dot space is inserted. The MDA/EGA/VGA cards do not put space for these characters but replicate the LSB so that the lines are connected. Strange feature, isn't it? You had better not to use the right-most bits for these character codes. (The fonts in /usr/share/syscons/fonts don't, AFAIK.) Kazu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709021130.EAA01410>