NetBSD Problem Report #51782
From www@NetBSD.org Thu Jan 5 13:28:04 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id E00E47A168
for <gnats-bugs@gnats.NetBSD.org>; Thu, 5 Jan 2017 13:28:03 +0000 (UTC)
Message-Id: <20170105132802.A7D307A268@mollari.NetBSD.org>
Date: Thu, 5 Jan 2017 13:28:02 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@consolidated.net
To: gnats-bugs@NetBSD.org
Subject: pull up VT-220-style GLASSTTY wsconsole fonts to netbsd-7
X-Send-Pr-Version: www-1.0
>Number: 51782
>Notify-List: jdbaker@consolidated.net
>Category: kern
>Synopsis: pull up VT-220-style GLASSTTY wsconsole fonts to netbsd-7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Jan 05 13:30:00 +0000 2017
>Closed-Date: Fri Aug 06 21:11:32 +0000 2021
>Last-Modified: Fri Aug 06 21:11:32 +0000 2021
>Originator: John D. Baker
>Release: NetBSD/amd64-7.0_STABLE
>Organization:
>Environment:
NetBSD skuld.technoskunk.fur 7.0_STABLE NetBSD 7.0_STABLE (SKULD) #58: Tue Dec 27 09:49:50 CST 2016 sysop@yggdrasil.technoskunk.fur:/r0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/SKULD amd64
>Description:
Please pull up the files/changes associated with adding the VT-220-style
GLASSTTY fonts to netbsd-7. I did so myself shortly after they were
committed and have been keeping local patches (to be appended) and they
work very nicely on radeonfb and intelfb.
Admittedly a cosmetic change, but it might be nice to see them in an
eventual 7.1.
Ah, nostalgia!
>How-To-Repeat:
n/a
>Fix:
pull up:
sys/dev/wsfont/glass10x19.h
sys/dev/wsfont/glass10x25.h
from HEAD to netbsd-7
(If sys/dev/wsfont/files.wsfont and sys/dev/wsfont/wsfont.c from HEAD
are inappropriate, patches against the versions in netbsd-7 will be
appended via email followup.)
>Release-Note:
>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/51782: pull up VT-220-style GLASSTTY wsconsole fonts to
netbsd-7
Date: Thu, 5 Jan 2017 07:35:08 -0600 (CST)
As mentioned in the PR, patches against "sys/dev/wsfont/files.wsfont"
and "sys/dev/wsfont/wsfont.c" from netbsd-7:
+Index: sys/dev/wsfont/files.wsfont
+===================================================================
+RCS file: /cvsroot/src/sys/dev/wsfont/files.wsfont,v
+retrieving revision 1.19
+retrieving revision 1.21
+diff -u -p -r1.19 -r1.21
+--- sys/dev/wsfont/files.wsfont 5 Apr 2012 02:46:21 -0000 1.19
++++ sys/dev/wsfont/files.wsfont 25 Jan 2015 20:09:42 -0000 1.21
+@@ -8,6 +8,8 @@ file dev/wsfont/wsfont.c (wsfont_glue &
+ rasterconsole | wsdisplay | wsfont needs-flag
+
+ defflag opt_wsfont.h FONT_BOLD8x16
++ FONT_GLASS10x19
++ FONT_GLASS10x25
+ FONT_GALLANT12x22
+ FONT_QVSS8x15
+ FONT_LUCIDA16x29
+Index: sys/dev/wsfont/wsfont.c
+===================================================================
+RCS file: /cvsroot/src/sys/dev/wsfont/wsfont.c,v
+retrieving revision 1.55
+retrieving revision 1.57
+diff -u -p -r1.55 -r1.57
+--- sys/dev/wsfont/wsfont.c 5 Apr 2012 02:46:21 -0000 1.55
++++ sys/dev/wsfont/wsfont.c 25 Jan 2015 20:09:42 -0000 1.57
+@@ -115,6 +115,16 @@ __KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1
+ #include <dev/wsfont/omron12x20.h>
+ #endif
+
++#ifdef FONT_GLASS10x19
++#define HAVE_FONT 1
++#include <dev/wsfont/glass10x19.h>
++#endif
++
++#ifdef FONT_GLASS10x25
++#define HAVE_FONT 1
++#include <dev/wsfont/glass10x25.h>
++#endif
++
+ #ifdef FONT_DEJAVU_SANS_MONO12x22
+ #include <dev/wsfont/DejaVu_Sans_Mono_12x22.h>
+ #endif
+@@ -207,6 +221,12 @@ static struct font builtin_fonts[] = {
+ #ifdef FONT_OMRON12x20
+ { { NULL, NULL }, &omron12x20, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
+ #endif
++#ifdef FONT_GLASS10x19
++ { { NULL, NULL }, &Glass_TTY_VT220_10x19, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
++#endif
++#ifdef FONT_GLASS10x25
++ { { NULL, NULL }, &Glass_TTY_VT220_10x25, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
++#endif
+ #ifdef FONT_DEJAVU_SANS_MONO12x22
+ { { NULL, NULL }, &DejaVu_Sans_Mono_12x22, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
+ #endif
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
State-Changed-From-To: open->closed
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Fri, 06 Aug 2021 21:11:32 +0000
State-Changed-Why:
netbsd-7 is EOL.
Sorry that nobody got around to this PR in a timely manner.
The fonts are available in netbsd-8 and later.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.