Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/wsfont Remove references to non-existing fonts.



details:   https://anonhg.NetBSD.org/src/rev/6ac19a60e31e
branches:  trunk
changeset: 745574:6ac19a60e31e
user:      fcambus <fcambus%NetBSD.org@localhost>
date:      Thu Mar 05 18:20:38 2020 +0000

description:
Remove references to non-existing fonts.

Include files with font data (courier11x18.h and iso8x16.h) were removed
in 1999 due to licensing concerns.

diffstat:

 sys/dev/wsfont/wsfont.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r 664d128dad27 -r 6ac19a60e31e sys/dev/wsfont/wsfont.c
--- a/sys/dev/wsfont/wsfont.c   Thu Mar 05 17:58:08 2020 +0000
+++ b/sys/dev/wsfont/wsfont.c   Thu Mar 05 18:20:38 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wsfont.c,v 1.66 2019/04/07 13:48:27 jmcneill Exp $     */
+/*     $NetBSD: wsfont.c,v 1.67 2020/03/05 18:20:38 fcambus Exp $      */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1.66 2019/04/07 13:48:27 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1.67 2020/03/05 18:20:38 fcambus Exp $");
 
 #include "opt_wsfont.h"
 
@@ -218,12 +218,6 @@
 #ifdef FONT_BOLD16x32
        { { NULL, NULL }, &bold16x32, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN  },
 #endif
-#ifdef FONT_ISO8x16
-       { { NULL, NULL }, &iso8x16, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
-#endif
-#ifdef FONT_COURIER11x18
-       { { NULL, NULL }, &courier11x18, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
-#endif
 #ifdef FONT_GALLANT12x22
        { { NULL, NULL }, &gallant12x22, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
 #endif



Home | Main Index | Thread Index | Old Index