Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 1998 02:44:25 +0200 (CEST)
From:      Christian Weisgerber <naddy@bigeye.rhein-neckar.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/7610: pcvt displays wrong glyph for 0xFD in ISO Latin 1 mode
Message-ID:  <199808140044.CAA00339@bigeye.rhein-neckar.de>

next in thread | raw e-mail | index | archive | help


>Number:         7610
>Category:       kern
>Synopsis:       pcvt displays wrong glyph for 0xFD in ISO Latin 1 mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 13 19:40:00 PDT 1998
>Last-Modified:
>Originator:     Christian Weisgerber
>Organization:
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

pcvt console driver, VGA console, /usr/share/misc/pcvtfonts/* loaded.

>Description:

When a graphic character set is switched to ISO Latin 1, pcvt renders a
wrong glyph for the character at code position 0xFD (lower case y with
acute).

This buglet is obviously due to a typo in the source code, see fix
below.

>How-To-Repeat:

Assuming defaults:

# loadfont -c0 -f/usr/share/misc/pcvtfonts/vt220l.816
# loadfont -c1 -f/usr/share/misc/pcvtfonts/vt220h.816

$ printf '\e.A'		# switch G2 (-> GR) charset to ISO Latin 1
$ for i in `jot - 160 255 16`; do jot -s '' -b %c 16 $i; done

The third last character should be a small y with an acute accent.
The corresponding capital letter two rows above (0xDD) is correct.

>Fix:

--- /sys/i386/isa/pcvt/pcvt_tbl.h.orig	Fri Aug 14 02:13:27 1998
+++ /sys/i386/isa/pcvt/pcvt_tbl.h	Fri Aug 14 02:13:32 1998
@@ -433,7 +433,7 @@
 /* 70 */	0x6B | CSH, 0xA4 | CSL, 0x95 | CSL, 0xA2 | CSL,
 /* 74 */	0x93 | CSL, 0x81 | CSH, 0x94 | CSL, 0xF6 | CSL,
 /* 78 */	0x7F | CSH, 0x97 | CSL, 0xA3 | CSL, 0x96 | CSL,
-/* 7C */	0x81 | CSL, 0x69 | CSL, 0x6A | CSH, 0x98 | CSL
+/* 7C */	0x81 | CSL, 0x69 | CSH, 0x6A | CSH, 0x98 | CSL
 };
 
 /*---------------------------------------------------------------------------*
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808140044.CAA00339>