From schweikh@schweikhardt.net  Wed Jan 16 12:36:11 2002
Return-Path: <schweikh@schweikhardt.net>
Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251])
	by hub.freebsd.org (Postfix) with ESMTP id 1B20937B404
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Jan 2002 12:36:11 -0800 (PST)
Received: from bremen.shuttle.de (localhost [127.0.0.1])
	by bremen.shuttle.de (Postfix) with ESMTP id 5EFC317D23
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Jan 2002 21:36:09 +0100 (CET)
Received: (from uucp@localhost)
	by bremen.shuttle.de (8.12.1/8.12.1/Debian -5) with UUCP id g0GKa9NH023683
	for FreeBSD-gnats-submit@freebsd.org; Wed, 16 Jan 2002 21:36:09 +0100
Received: (from schweikh@localhost)
	by hal9000.schweikhardt.net (8.11.6/8.11.6) id g0GK7Qg05778;
	Wed, 16 Jan 2002 21:07:26 +0100 (CET)
	(envelope-from schweikh)
Message-Id: <200201162007.g0GK7Qg05778@hal9000.schweikhardt.net>
Date: Wed, 16 Jan 2002 21:07:26 +0100 (CET)
From: Jens Schweikhardt <schweikh@schweikhardt.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: schweikh@schweikhardt.net
Subject: syscons mouse pointer drawing slightly icky
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33959
>Category:       i386
>Synopsis:       syscons mouse pointer drawing slightly icky
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 16 12:40:01 PST 2002
>Closed-Date:    Sun Dec 01 13:51:45 PST 2002
>Last-Modified:  Sun Dec 01 13:51:45 PST 2002
>Originator:     Jens Schweikhardt
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Digital Details
>Environment:
System: FreeBSD hal9000.schweikhardt.net 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Tue Dec 4 22:18:01 CET 2001 toor@hal9000.schweikhardt.net:/usr/obj/src/current/sys/HAL9000 i386


	Effect can be seen on -stable and -current to this day.

>Description:
	If you use syscons and point the mouse pointer on or near characters
    that almost touch their 8x16 rectangle's right border, that character
    is improperly drawn: the rightmost pixel column is drawn in fg colour.
    Gee, I'm really anal today :-)

>How-To-Repeat:
	1. Be sure you use syscons and not pcvt for your console.
    2. Use the mouse, e.g. with moused.
    3. Point the arrow near any of these characters: MTVWXYZ  mvwx*
    4. Note how the rightmost pixel column gets drawn when you come
       close and undrawn when you move away.

In case it matters, I'm using TERM=cons30l1 and
font8x8="iso-8x8"
font8x14="iso-8x14"
font8x16="iso-8x16"

>Fix:

	Beats me.

Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Dec 1 13:35:47 PST 2002 
State-Changed-Why:  

This is actually a limitation of the VGA hardware, not a software 
bug. Each character is really 9 pixels wide in this mode, but there 
are only 8 bits of data in each row. The rendering of the 9th column 
is dependent on the ASCII code of the character; values between 192 
and 223 are drawn with the 9th pixel the same colour as the 8th, 
and other ASCII codes use the background colour. 

The characters used to draw the mouse pointer are chosen in the 
line-graphics range (192-223) to avoid a vertical line of background 
colour every time you cross the 9th column (you can change them 
with vidcontrol -M). This means that when you move the mouse pointer 
over a normal character, it gets drawn using using the special 
line-graphics characters, so the 8th column gets copied to the 9th. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33959 
>Unformatted:
