Use C99 initializers in wsdisplay_font struct definitions for
Spleen kernel fonts.
This commit is contained in:
parent
e837be8744
commit
5e2629248f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: spleen12x24.h,v 1.5 2020/06/21 15:48:17 fcambus Exp $ */
|
||||
/* $NetBSD: spleen12x24.h,v 1.6 2020/07/06 20:19:14 fcambus Exp $ */
|
||||
/* $OpenBSD: spleen12x24.h,v 1.2 2019/03/08 10:53:59 fcambus Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -30,16 +30,16 @@
|
|||
static u_char spleen12x24_data[];
|
||||
|
||||
struct wsdisplay_font spleen12x24 = {
|
||||
"Spleen 12x24", /* typeface name */
|
||||
' ', /* firstchar */
|
||||
256 - ' ', /* numchars */
|
||||
WSDISPLAY_FONTENC_ISO, /* encoding */
|
||||
12, /* width */
|
||||
24, /* height */
|
||||
2, /* stride */
|
||||
WSDISPLAY_FONTORDER_L2R, /* bit order */
|
||||
WSDISPLAY_FONTORDER_L2R, /* byte order */
|
||||
spleen12x24_data /* data */
|
||||
.name = "Spleen 12x24",
|
||||
.firstchar = ' ',
|
||||
.numchars = 256 - ' ',
|
||||
.encoding = WSDISPLAY_FONTENC_ISO,
|
||||
.fontwidth = 12,
|
||||
.fontheight = 24,
|
||||
.stride = 2,
|
||||
.bitorder = WSDISPLAY_FONTORDER_L2R,
|
||||
.byteorder = WSDISPLAY_FONTORDER_L2R,
|
||||
.data = spleen12x24_data
|
||||
};
|
||||
|
||||
static u_char spleen12x24_data[] = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: spleen16x32.h,v 1.4 2020/06/21 15:48:17 fcambus Exp $ */
|
||||
/* $NetBSD: spleen16x32.h,v 1.5 2020/07/06 20:19:14 fcambus Exp $ */
|
||||
/* $OpenBSD: spleen16x32.h,v 1.2 2019/03/08 10:53:59 fcambus Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -30,16 +30,16 @@
|
|||
static u_char spleen16x32_data[];
|
||||
|
||||
struct wsdisplay_font spleen16x32 = {
|
||||
"Spleen 16x32", /* typeface name */
|
||||
' ', /* firstchar */
|
||||
256 - ' ', /* numchars */
|
||||
WSDISPLAY_FONTENC_ISO, /* encoding */
|
||||
16, /* width */
|
||||
32, /* height */
|
||||
2, /* stride */
|
||||
WSDISPLAY_FONTORDER_L2R, /* bit order */
|
||||
WSDISPLAY_FONTORDER_L2R, /* byte order */
|
||||
spleen16x32_data /* data */
|
||||
.name = "Spleen 16x32",
|
||||
.firstchar = ' ',
|
||||
.numchars = 256 - ' ',
|
||||
.encoding = WSDISPLAY_FONTENC_ISO,
|
||||
.fontwidth = 16,
|
||||
.fontheight = 32,
|
||||
.stride = 2,
|
||||
.bitorder = WSDISPLAY_FONTORDER_L2R,
|
||||
.byteorder = WSDISPLAY_FONTORDER_L2R,
|
||||
.data = spleen16x32_data
|
||||
};
|
||||
|
||||
static u_char spleen16x32_data[] = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: spleen32x64.h,v 1.5 2020/06/21 15:48:17 fcambus Exp $ */
|
||||
/* $NetBSD: spleen32x64.h,v 1.6 2020/07/06 20:19:14 fcambus Exp $ */
|
||||
/* $OpenBSD: spleen32x64.h,v 1.2 2019/03/08 10:53:59 fcambus Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -30,16 +30,16 @@
|
|||
static u_char spleen32x64_data[];
|
||||
|
||||
struct wsdisplay_font spleen32x64 = {
|
||||
"Spleen 32x64", /* typeface name */
|
||||
' ', /* firstchar */
|
||||
256 - ' ', /* numchars */
|
||||
WSDISPLAY_FONTENC_ISO, /* encoding */
|
||||
32, /* width */
|
||||
64, /* height */
|
||||
4, /* stride */
|
||||
WSDISPLAY_FONTORDER_L2R, /* bit order */
|
||||
WSDISPLAY_FONTORDER_L2R, /* byte order */
|
||||
spleen32x64_data /* data */
|
||||
.name = "Spleen 32x64",
|
||||
.firstchar = ' ',
|
||||
.numchars = 256 - ' ',
|
||||
.encoding = WSDISPLAY_FONTENC_ISO,
|
||||
.fontwidth = 32,
|
||||
.fontheight = 64,
|
||||
.stride = 4,
|
||||
.bitorder = WSDISPLAY_FONTORDER_L2R,
|
||||
.byteorder = WSDISPLAY_FONTORDER_L2R,
|
||||
.data = spleen32x64_data
|
||||
};
|
||||
|
||||
static u_char spleen32x64_data[] = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: spleen5x8.h,v 1.5 2020/06/29 09:45:35 fcambus Exp $ */
|
||||
/* $NetBSD: spleen5x8.h,v 1.6 2020/07/06 20:19:14 fcambus Exp $ */
|
||||
/* $OpenBSD: spleen5x8.h,v 1.2 2018/12/02 14:47:23 fcambus Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -30,16 +30,16 @@
|
|||
static u_char spleen5x8_data[];
|
||||
|
||||
struct wsdisplay_font spleen5x8 = {
|
||||
"Spleen 5x8", /* typeface name */
|
||||
' ', /* firstchar */
|
||||
128 - ' ', /* numchars */
|
||||
WSDISPLAY_FONTENC_ISO, /* encoding */
|
||||
5, /* width */
|
||||
8, /* height */
|
||||
1, /* stride */
|
||||
WSDISPLAY_FONTORDER_L2R, /* bit order */
|
||||
WSDISPLAY_FONTORDER_L2R, /* byte order */
|
||||
spleen5x8_data /* data */
|
||||
.name = "Spleen 5x8",
|
||||
.firstchar = ' ',
|
||||
.numchars = 128 - ' ',
|
||||
.encoding = WSDISPLAY_FONTENC_ISO,
|
||||
.fontwidth = 5,
|
||||
.fontheight = 8,
|
||||
.stride = 1,
|
||||
.bitorder = WSDISPLAY_FONTORDER_L2R,
|
||||
.byteorder = WSDISPLAY_FONTORDER_L2R,
|
||||
.data = spleen5x8_data
|
||||
};
|
||||
|
||||
static u_char spleen5x8_data[] = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: spleen8x16.h,v 1.3 2020/06/21 15:48:17 fcambus Exp $ */
|
||||
/* $NetBSD: spleen8x16.h,v 1.4 2020/07/06 20:19:14 fcambus Exp $ */
|
||||
/* $OpenBSD: spleen8x16.h,v 1.2 2019/03/08 10:53:59 fcambus Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -30,16 +30,16 @@
|
|||
static u_char spleen8x16_data[];
|
||||
|
||||
struct wsdisplay_font spleen8x16 = {
|
||||
"Spleen 8x16", /* typeface name */
|
||||
' ', /* firstchar */
|
||||
256 - ' ', /* numchars */
|
||||
WSDISPLAY_FONTENC_ISO, /* encoding */
|
||||
8, /* width */
|
||||
16, /* height */
|
||||
1, /* stride */
|
||||
WSDISPLAY_FONTORDER_L2R, /* bit order */
|
||||
WSDISPLAY_FONTORDER_L2R, /* byte order */
|
||||
spleen8x16_data /* data */
|
||||
.name = "Spleen 8x16",
|
||||
.firstchar = ' ',
|
||||
.numchars = 256 - ' ',
|
||||
.encoding = WSDISPLAY_FONTENC_ISO,
|
||||
.fontwidth = 8,
|
||||
.fontheight = 16,
|
||||
.stride = 1,
|
||||
.bitorder = WSDISPLAY_FONTORDER_L2R,
|
||||
.byteorder = WSDISPLAY_FONTORDER_L2R,
|
||||
.data = spleen8x16_data
|
||||
};
|
||||
|
||||
static u_char spleen8x16_data[] = {
|
||||
|
|
Loading…
Reference in New Issue