From owner-freebsd-bugs Tue Sep 2 04:30:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA01432 for bugs-outgoing; Tue, 2 Sep 1997 04:30:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA01410; Tue, 2 Sep 1997 04:30:01 -0700 (PDT) Date: Tue, 2 Sep 1997 04:30:01 -0700 (PDT) Message-Id: <199709021130.EAA01410@hub.freebsd.org> To: freebsd-bugs Cc: From: Kazutaka YOKOTA Subject: Re: kern/4416: syscons: problem with font Reply-To: Kazutaka YOKOTA Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/4416; it has been noted by GNATS. From: Kazutaka YOKOTA 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