Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wsfont Extend the gallant font to full ISO8859-1. Co...



details:   https://anonhg.NetBSD.org/src/rev/f0478bfa6bda
branches:  trunk
changeset: 584475:f0478bfa6bda
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Sep 19 19:27:31 2005 +0000

description:
Extend the gallant font to full ISO8859-1. Content provided by der Mouse,
formatting and any errors by me.

diffstat:

 sys/dev/wsfont/gallant12x22.h |  4606 +++++++++++++++++++++++++++++++++++++---
 1 files changed, 4235 insertions(+), 371 deletions(-)

diffs (truncated from 5262 to 300 lines):

diff -r b304fdccc752 -r f0478bfa6bda sys/dev/wsfont/gallant12x22.h
--- a/sys/dev/wsfont/gallant12x22.h     Mon Sep 19 15:12:09 2005 +0000
+++ b/sys/dev/wsfont/gallant12x22.h     Mon Sep 19 19:27:31 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gallant12x22.h,v 1.9 2005/06/28 00:44:22 thorpej Exp $ */
+/*     $NetBSD: gallant12x22.h,v 1.10 2005/09/19 19:27:31 martin Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -39,8 +39,8 @@
 
 static struct wsdisplay_font gallant12x22 = {
        "Gallant",                      /* typeface name */
-       ' ',                            /* firstchar */
-       '~' - ' ' + 1,                  /* numchars */
+       0,                              /* firstchar */
+       255 - 0 + 1,                    /* numchar */
        WSDISPLAY_FONTENC_ISO,          /* encoding */
        12,                             /* width */
        22,                             /* height */
@@ -51,55 +51,824 @@
 };
 
 static u_char gallant12x22_data[] = {
-       /*   */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-
-       /* ! */
-       0x00, 0x00,     /* ............ */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x06, 0x00,     /* .....**..... */
-       0x06, 0x00,     /* .....**..... */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-       0x00, 0x00,     /* ............ */
-
-       /* " */
+       /* 0 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 1 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x06, 0x00,     /* .....**..... */
+       0x0f, 0x00,     /* ....****.... */
+       0x1f, 0x80,     /* ...******... */
+       0x3f, 0xc0,     /* ..********.. */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x3f, 0xc0,     /* ..********.. */
+       0x1f, 0x80,     /* ...******... */
+       0x0f, 0x00,     /* ....****.... */
+       0x06, 0x00,     /* .....**..... */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 2 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x55, 0x40,     /* .*.*.*.*.*.. */
+       0x2a, 0xa0,     /* ..*.*.*.*.*. */
+       0x55, 0x40,     /* .*.*.*.*.*.. */
+       0x2a, 0xa0,     /* ..*.*.*.*.*. */
+       0x55, 0x40,     /* .*.*.*.*.*.. */
+       0x2a, 0xa0,     /* ..*.*.*.*.*. */
+       0x55, 0x40,     /* .*.*.*.*.*.. */
+       0x2a, 0xa0,     /* ..*.*.*.*.*. */
+       0x55, 0x40,     /* .*.*.*.*.*.. */
+       0x2a, 0xa0,     /* ..*.*.*.*.*. */
+       0x55, 0x40,     /* .*.*.*.*.*.. */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 3 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x44, 0x00,     /* .*...*...... */
+       0x44, 0x00,     /* .*...*...... */
+       0x44, 0x00,     /* .*...*...... */
+       0x7c, 0x00,     /* .*****...... */
+       0x44, 0x00,     /* .*...*...... */
+       0x44, 0x00,     /* .*...*...... */
+       0x44, 0x00,     /* .*...*...... */
+       0x03, 0xe0,     /* ......*****. */
+       0x00, 0x80,     /* ........*... */
+       0x00, 0x80,     /* ........*... */
+       0x00, 0x80,     /* ........*... */
+       0x00, 0x80,     /* ........*... */
+       0x00, 0x80,     /* ........*... */
+       0x00, 0x80,     /* ........*... */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 4 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x7c, 0x00,     /* .*****...... */
+       0x40, 0x00,     /* .*.......... */
+       0x40, 0x00,     /* .*.......... */
+       0x78, 0x00,     /* .****....... */
+       0x40, 0x00,     /* .*.......... */
+       0x40, 0x00,     /* .*.......... */
+       0x40, 0x00,     /* .*.......... */
+       0x03, 0xe0,     /* ......*****. */
+       0x02, 0x00,     /* ......*..... */
+       0x02, 0x00,     /* ......*..... */
+       0x03, 0xc0,     /* ......****.. */
+       0x02, 0x00,     /* ......*..... */
+       0x02, 0x00,     /* ......*..... */
+       0x02, 0x00,     /* ......*..... */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 5 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x38, 0x00,     /* ..***....... */
+       0x44, 0x00,     /* .*...*...... */
+       0x40, 0x00,     /* .*.......... */
+       0x40, 0x00,     /* .*.......... */
+       0x40, 0x00,     /* .*.......... */
+       0x44, 0x00,     /* .*...*...... */
+       0x38, 0x00,     /* ..***....... */
+       0x03, 0xc0,     /* ......****.. */
+       0x02, 0x20,     /* ......*...*. */
+       0x02, 0x20,     /* ......*...*. */
+       0x03, 0xc0,     /* ......****.. */
+       0x02, 0x80,     /* ......*.*... */
+       0x02, 0x40,     /* ......*..*.. */
+       0x02, 0x20,     /* ......*...*. */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 6 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x40, 0x00,     /* .*.......... */
+       0x40, 0x00,     /* .*.......... */
+       0x40, 0x00,     /* .*.......... */
+       0x40, 0x00,     /* .*.......... */
+       0x40, 0x00,     /* .*.......... */
+       0x40, 0x00,     /* .*.......... */
+       0x7c, 0x00,     /* .*****...... */
+       0x03, 0xe0,     /* ......*****. */
+       0x02, 0x00,     /* ......*..... */
+       0x02, 0x00,     /* ......*..... */
+       0x03, 0xc0,     /* ......****.. */
+       0x02, 0x00,     /* ......*..... */
+       0x02, 0x00,     /* ......*..... */
+       0x02, 0x00,     /* ......*..... */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 7 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x0e, 0x00,     /* ....***..... */
+       0x17, 0x00,     /* ...*.***.... */
+       0x23, 0x80,     /* ..*...***... */
+       0x61, 0x80,     /* .**....**... */
+       0x61, 0x80,     /* .**....**... */
+       0x71, 0x00,     /* .***...*.... */
+       0x3a, 0x00,     /* ..***.*..... */
+       0x1c, 0x00,     /* ...***...... */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 8 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x00, 0x00,     /* ............ */
+       0x7f, 0xe0,     /* .**********. */
+       0x7f, 0xe0,     /* .**********. */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 9 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x44, 0x00,     /* .*...*...... */
+       0x64, 0x00,     /* .**..*...... */
+       0x64, 0x00,     /* .**..*...... */
+       0x54, 0x00,     /* .*.*.*...... */
+       0x4c, 0x00,     /* .*..**...... */



Home | Main Index | Thread Index | Old Index