NetBSD Problem Report #37670

From is@netbsd.org  Wed Jan  2 21:36:18 2008
Return-Path: <is@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id E177763B852
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  2 Jan 2008 21:36:18 +0000 (UTC)
Message-Id: <20080102213616.8343822ECC@beverly.kleinbus.org>
Date: Wed,  2 Jan 2008 22:36:16 +0100 (CET)
From: is@netbsd.org
Reply-To: is@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: a lot of characters missing from igsfb wscons
X-Send-Pr-Version: 3.95

>Number:         37670
>Category:       port-shark
>Synopsis:       A lot of characters is missing from wscons using igsfb
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-shark-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 02 21:40:01 +0000 2008
>Closed-Date:    Fri Oct 15 04:41:32 +0000 2010
>Last-Modified:  Fri Oct 15 04:41:32 +0000 2010
>Originator:     Ignatios Souvatzis
>Release:        NetBSD 4.0_RC5
>Organization:
seal your e-mail: http://www.gnupg.org/
>Environment:


System: NetBSD marie 4.0_RC5 NetBSD 4.0_RC5 (MARIE) #0: Wed Dec 26 13:25:40 CET 2007 ignatios@random85.cs.uni-bonn.de:/var/itch/sources/4.0/os/sys/arch/shark/compile/MARIE shark
Architecture: arm
Machine: shark
>Description:
	I noticed that a lot of iso-8859-1 characters are displayed as 
	empty space on wscons. Most notable one is ssharp (0xdf), but 
	a lot more are missing.

	As far as I can tell, igsfb is using in-kernel gallant12x22,
	and that font does include nice glyphs at least at positions
	0xdd-0xdf, which are not displayed on my machine.

>How-To-Repeat:
	jot -c 96 160 | hexdump -C > /dev/ttyE3
>Fix:

>Release-Note:

>Audit-Trail:

From: "Michael L. Hitch" <mhitch@lightning.msu.montana.edu>
To: gnats-bugs@NetBSD.org
Cc: port-shark-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: port-shark/37670: a lot of characters missing from igsfb wscons
Date: Mon, 7 Jan 2008 12:13:47 -0700 (MST)

 On Wed, 2 Jan 2008, is@beverly.kleinbus.org wrote:

 > 	As far as I can tell, igsfb is using in-kernel gallant12x22,
 > 	and that font does include nice glyphs at least at positions
 > 	0xdd-0xdf, which are not displayed on my machine.

    It appears to me that the shark is actually using the gallant19 font
 from sys/dev/wscons/wscons_rfont.h which is included in wscons_rinit.c.

 --
 Michael L. Hitch			mhitch@montana.edu
 Computer Consultant
 Information Technology Center
 Montana State University	Bozeman, MT	USA

From: "Michael L. Hitch" <mhitch@lightning.msu.montana.edu>
To: gnats-bugs@NetBSD.org
Cc: port-shark-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: port-shark/37670: a lot of characters missing from igsfb wscons
Date: Mon, 7 Jan 2008 16:22:32 -0700 (MST)

 On Mon, 7 Jan 2008, Michael L. Hitch wrote:

 >> 	As far as I can tell, igsfb is using in-kernel gallant12x22,
 >> 	and that font does include nice glyphs at least at positions
 >> 	0xdd-0xdf, which are not displayed on my machine.
 >
 >  It appears to me that the shark is actually using the gallant19 font
 > from sys/dev/wscons/wscons_rfont.h which is included in wscons_rinit.c.

    Hmmm, this still doesn't seem to explain things.  As far as I can tell,
 the gallant19 font in wscons_rfont.h doesn't have any characters defined 
 past 0x7f.  In addition, sys/dev/wsfont/wsfont.c will only have bold8x16
 by default if no other fonts were configured, and as far as I could tell, 
 the shark does not specify any additional fonts, and only bold8x16 is
 included.  The bold8x16 does have characters defined, but they are much
 different and do not appear to be used.

    So I can't figure out where the heck the font characters are really
 coming from.

 --
 Michael L. Hitch			mhitch@montana.edu
 Computer Consultant
 Information Technology Center
 Montana State University	Bozeman, MT	USA

From: Ignatios Souvatzis <is@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: port-shark-maintainer@netbsd.org, gnats-admin@netbsd.org,
	is@netbsd.org
Subject: Re: port-shark/37670: a lot of characters missing from igsfb wscons
Date: Tue, 8 Jan 2008 22:43:17 +0100

 >     So I can't figure out where the heck the font characters are really
 >  coming from.

 I confirmed that explicitly including options FONT_GALLANT12x22 does give
 me ß, and at least some others that used to miss.

 Sorry for the noise.

 	-is

From: "Michael L. Hitch" <mhitch@lightning.msu.montana.edu>
To: gnats-bugs@NetBSD.org
Cc: port-shark-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: port-shark/37670: a lot of characters missing from igsfb wscons
Date: Wed, 9 Jan 2008 12:00:35 -0700 (MST)

 On Mon, 7 Jan 2008, Michael L. Hitch wrote:

 >  So I can't figure out where the heck the font characters are really
 > coming from.

 AHA!  Now I know what is happening.

 The default font used by wsfont if none are explicitly specified in the
 kernel config file is bold8x16.  That font has an encoding of 
 WSDISPLAY_FONTENC_IBM, which causes wsfont.c to remap the displayed
 characters, and that mapping has an entry for the 0xdc character, but none 
 for 0xdd - 0xdf, which matches what I actually see displayed.

 --
 Michael L. Hitch			mhitch@montana.edu
 Computer Consultant
 Information Technology Center
 Montana State University	Bozeman, MT	USA

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 07 Feb 2010 21:40:00 +0000
State-Changed-Why:
does this PR still need to be open? it looks like not


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 15 Oct 2010 04:41:32 +0000
State-Changed-Why:
According to the PR text the problem appears to be resolved - if not let me
 know.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.