Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wsfont Set correct font encoding.



details:   https://anonhg.NetBSD.org/src/rev/7ed6e7aab8d1
branches:  trunk
changeset: 503166:7ed6e7aab8d1
user:      marcus <marcus%NetBSD.org@localhost>
date:      Fri Feb 02 05:59:53 2001 +0000

description:
Set correct font encoding.

diffstat:

 sys/dev/wsfont/sony12x24.h  |  8 +++-----
 sys/dev/wsfont/sony8x16.h   |  8 +++-----
 sys/dev/wsfont/vt220l8x10.h |  4 ++--
 sys/dev/wsfont/vt220l8x8.h  |  4 ++--
 4 files changed, 10 insertions(+), 14 deletions(-)

diffs (104 lines):

diff -r f4a5ed1f4425 -r 7ed6e7aab8d1 sys/dev/wsfont/sony12x24.h
--- a/sys/dev/wsfont/sony12x24.h        Fri Feb 02 05:58:04 2001 +0000
+++ b/sys/dev/wsfont/sony12x24.h        Fri Feb 02 05:59:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sony12x24.h,v 1.1 2000/11/21 11:44:45 tsutsui Exp $    */
+/*     $NetBSD: sony12x24.h,v 1.2 2001/02/02 05:59:53 marcus Exp $     */
 /*
  * Copyright (c) 1992, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -46,8 +46,8 @@
 struct wsdisplay_font sony12x24 = {
        "sony12x24",                    /* typeface name */
        ' ',                            /* firstchar */
-       '~' - ' ' + 1,                  /* numchars */
-       WSDISPLAY_FONTENC_ISO,          /* encoding */
+       0xff - ' ' + 1,                 /* numchars */
+       WSDISPLAY_FONTENC_SONY,         /* encoding */
        12,                             /* width */
        24,                             /* height */
        2,                              /* stride */
@@ -3362,7 +3362,6 @@
        0x00, 0x00,     /* ............ */
        0x00, 0x00,     /* ............ */
 
-#if 0
        /* 0x7F */
        0x00, 0x00,     /* ............ */
        0x00, 0x00,     /* ............ */
@@ -6716,5 +6715,4 @@
        0x10, 0x00,     /* ...*........ */
        0x00, 0x00,     /* ............ */
        0x00, 0x00,     /* ............ */
-#endif
 };
diff -r f4a5ed1f4425 -r 7ed6e7aab8d1 sys/dev/wsfont/sony8x16.h
--- a/sys/dev/wsfont/sony8x16.h Fri Feb 02 05:58:04 2001 +0000
+++ b/sys/dev/wsfont/sony8x16.h Fri Feb 02 05:59:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sony8x16.h,v 1.1 2000/11/21 11:44:45 tsutsui Exp $     */
+/*     $NetBSD: sony8x16.h,v 1.2 2001/02/02 05:59:54 marcus Exp $      */
 /*
  * Copyright (c) 1992, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -46,8 +46,8 @@
 struct wsdisplay_font sony8x16 = {
        "sony8x16",                     /* typeface name */
        ' ',                            /* firstchar */
-       '~' - ' ' + 1,                  /* numchars */
-       WSDISPLAY_FONTENC_ISO,          /* encoding */
+       0xff - ' ' + 1,                 /* numchars */
+       WSDISPLAY_FONTENC_SONY,         /* encoding */
        8,                              /* width */
        16,                             /* height */
        1,                              /* stride */
@@ -2346,7 +2346,6 @@
        0x00,   /* ........ */
        0x00,   /* ........ */
 
-#if 0
        /* 0x7F */
        0x00,   /* ........ */
        0x00,   /* ........ */
@@ -4668,5 +4667,4 @@
        0x10,   /* ...*.... */
        0x20,   /* ..*..... */
        0x00,   /* ........ */
-#endif
 };
diff -r f4a5ed1f4425 -r 7ed6e7aab8d1 sys/dev/wsfont/vt220l8x10.h
--- a/sys/dev/wsfont/vt220l8x10.h       Fri Feb 02 05:58:04 2001 +0000
+++ b/sys/dev/wsfont/vt220l8x10.h       Fri Feb 02 05:59:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vt220l8x10.h,v 1.3 2000/01/05 18:44:25 ad Exp $        */
+/*     $NetBSD: vt220l8x10.h,v 1.4 2001/02/02 05:59:54 marcus Exp $    */
 
 /*
  * Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch
@@ -42,7 +42,7 @@
        "vt220l",                       /* typeface name */
        '\0',                           /* firstchar */
        256,                            /* numchars */
-       WSDISPLAY_FONTENC_ISO,          /* encoding */
+       WSDISPLAY_FONTENC_IBM,          /* encoding */
        8,                              /* width */
        10,                             /* height */
        1,                              /* stride */
diff -r f4a5ed1f4425 -r 7ed6e7aab8d1 sys/dev/wsfont/vt220l8x8.h
--- a/sys/dev/wsfont/vt220l8x8.h        Fri Feb 02 05:58:04 2001 +0000
+++ b/sys/dev/wsfont/vt220l8x8.h        Fri Feb 02 05:59:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vt220l8x8.h,v 1.3 2000/01/05 18:44:25 ad Exp $ */
+/*     $NetBSD: vt220l8x8.h,v 1.4 2001/02/02 05:59:55 marcus Exp $     */
 
 /*
  * Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch
@@ -42,7 +42,7 @@
        "vt220l",                       /* typeface name */
        '\0',                           /* firstchar */
        256,                            /* numchars */
-       WSDISPLAY_FONTENC_ISO,          /* encoding */
+       WSDISPLAY_FONTENC_IBM,          /* encoding */
        8,                              /* width */
        8,                              /* height */
        1,                              /* stride */



Home | Main Index | Thread Index | Old Index