Hi tech@,
Here is a diff to sync kernel fonts with the latest released Spleen
version, bringing the following improvements:
- Tweak the digit '7' for consistency with other sizes (5x8 version)
- Tweak the digit '2' for consistency with other sizes (12x24 version)
- Shift the middle bar of the digit '3' one pixel up, for better
alignement (12x24 version)
- Make the 'Z' and 'z' characters more balanced, as is the case with
other sizes (12x24 version)
- Make the slash inside the digit '0' one pixel thiner (32x64 version)
Comments? OK?
Index: sys/dev/wsfont/spleen12x24.h
===================================================================
RCS file: /cvs/src/sys/dev/wsfont/spleen12x24.h,v
retrieving revision 1.4
diff -u -p -r1.4 spleen12x24.h
--- sys/dev/wsfont/spleen12x24.h 5 Sep 2019 19:18:32 -0000 1.4
+++ sys/dev/wsfont/spleen12x24.h 2 Oct 2019 20:54:24 -0000
@@ -503,6 +503,7 @@ static u_char spleen12x24_data[] = {
0x60, 0x60, /* .**......**..... */
0x00, 0x60, /* .........**..... */
0x00, 0x60, /* .........**..... */
+ 0x00, 0x60, /* .........**..... */
0x00, 0xc0, /* ........**...... */
0x01, 0x80, /* .......**....... */
0x03, 0x00, /* ......**........ */
@@ -510,7 +511,6 @@ static u_char spleen12x24_data[] = {
0x0c, 0x00, /* ....**.......... */
0x18, 0x00, /* ...**........... */
0x30, 0x00, /* ..**............ */
- 0x60, 0x00, /* .**............. */
0x60, 0x60, /* .**......**..... */
0x7f, 0xe0, /* .**********..... */
0x00, 0x00, /* ................ */
@@ -528,13 +528,13 @@ static u_char spleen12x24_data[] = {
0x60, 0x60, /* .**......**..... */
0x00, 0x60, /* .........**..... */
0x00, 0x60, /* .........**..... */
- 0x00, 0x60, /* .........**..... */
0x00, 0xc0, /* ........**...... */
0x0f, 0x80, /* ....*****....... */
0x00, 0xc0, /* ........**...... */
0x00, 0x60, /* .........**..... */
0x00, 0x60, /* .........**..... */
0x00, 0x60, /* .........**..... */
+ 0x00, 0x60, /* .........**..... */
0x60, 0x60, /* .**......**..... */
0x30, 0xc0, /* ..**....**...... */
0x1f, 0x80, /* ...******....... */
@@ -1502,7 +1502,6 @@ static u_char spleen12x24_data[] = {
0x00, 0x60, /* .........**..... */
0x00, 0x60, /* .........**..... */
0x00, 0x60, /* .........**..... */
- 0x00, 0x60, /* .........**..... */
0x00, 0xc0, /* ........**...... */
0x01, 0x80, /* .......**....... */
0x03, 0x00, /* ......**........ */
@@ -1512,6 +1511,7 @@ static u_char spleen12x24_data[] = {
0x30, 0x00, /* ..**............ */
0x60, 0x00, /* .**............. */
0x60, 0x00, /* .**............. */
+ 0x60, 0x00, /* .**............. */
0x7f, 0xe0, /* .**********..... */
0x00, 0x00, /* ................ */
0x00, 0x00, /* ................ */
@@ -2304,7 +2304,6 @@ static u_char spleen12x24_data[] = {
0x00, 0x00, /* ................ */
0x7f, 0xe0, /* .**********..... */
0x00, 0x60, /* .........**..... */
- 0x00, 0x60, /* .........**..... */
0x00, 0xc0, /* ........**...... */
0x01, 0x80, /* .......**....... */
0x03, 0x00, /* ......**........ */
@@ -2312,6 +2311,7 @@ static u_char spleen12x24_data[] = {
0x0c, 0x00, /* ....**.......... */
0x18, 0x00, /* ...**........... */
0x30, 0x00, /* ..**............ */
+ 0x60, 0x00, /* .**............. */
0x7f, 0xe0, /* .**********..... */
0x00, 0x00, /* ................ */
0x00, 0x00, /* ................ */
Index: sys/dev/wsfont/spleen32x64.h
===================================================================
RCS file: /cvs/src/sys/dev/wsfont/spleen32x64.h,v
retrieving revision 1.4
diff -u -p -r1.4 spleen32x64.h
--- sys/dev/wsfont/spleen32x64.h 5 Sep 2019 19:18:32 -0000 1.4
+++ sys/dev/wsfont/spleen32x64.h 2 Oct 2019 20:54:25 -0000
@@ -1111,22 +1111,22 @@ static u_char spleen32x64_data[] = {
0x0f, 0x00, 0x0f, 0xf0, /* ....****............********.... */
0x0f, 0x00, 0x1f, 0xf0, /* ....****...........*********.... */
0x0f, 0x00, 0x3f, 0xf0, /* ....****..........**********.... */
- 0x0f, 0x00, 0x7f, 0xf0, /* ....****.........***********.... */
- 0x0f, 0x00, 0xfe, 0xf0, /* ....****........*******.****.... */
- 0x0f, 0x01, 0xfc, 0xf0, /* ....****.......*******..****.... */
- 0x0f, 0x03, 0xf8, 0xf0, /* ....****......*******...****.... */
- 0x0f, 0x07, 0xf0, 0xf0, /* ....****.....*******....****.... */
- 0x0f, 0x0f, 0xe0, 0xf0, /* ....****....*******.....****.... */
- 0x0f, 0x1f, 0xc0, 0xf0, /* ....****...*******......****.... */
- 0x0f, 0x3f, 0x80, 0xf0, /* ....****..*******.......****.... */
- 0x0f, 0x7f, 0x00, 0xf0, /* ....****.*******........****.... */
- 0x0f, 0xfe, 0x00, 0xf0, /* ....***********.........****.... */
+ 0x0f, 0x00, 0x7e, 0xf0, /* ....****.........******.****.... */
+ 0x0f, 0x00, 0xfc, 0xf0, /* ....****........******..****.... */
+ 0x0f, 0x01, 0xf8, 0xf0, /* ....****.......******...****.... */
+ 0x0f, 0x03, 0xf0, 0xf0, /* ....****......******....****.... */
+ 0x0f, 0x07, 0xe0, 0xf0, /* ....****.....******.....****.... */
+ 0x0f, 0x0f, 0xc0, 0xf0, /* ....****....******......****.... */
+ 0x0f, 0x1f, 0x80, 0xf0, /* ....****...******.......****.... */
+ 0x0f, 0x3f, 0x00, 0xf0, /* ....****..******........****.... */
+ 0x0f, 0x7e, 0x00, 0xf0, /* ....****.******.........****.... */
0x0f, 0xfc, 0x00, 0xf0, /* ....**********..........****.... */
0x0f, 0xf8, 0x00, 0xf0, /* ....*********...........****.... */
0x0f, 0xf0, 0x00, 0xf0, /* ....********............****.... */
0x0f, 0xe0, 0x00, 0xf0, /* ....*******.............****.... */
0x0f, 0xc0, 0x00, 0xf0, /* ....******..............****.... */
0x0f, 0x80, 0x00, 0xf0, /* ....*****...............****.... */
+ 0x0f, 0x00, 0x00, 0xf0, /* ....****................****.... */
0x0f, 0x00, 0x00, 0xf0, /* ....****................****.... */
0x0f, 0x00, 0x00, 0xf0, /* ....****................****.... */
0x0f, 0x00, 0x00, 0xf0, /* ....****................****.... */
Index: sys/dev/wsfont/spleen5x8.h
===================================================================
RCS file: /cvs/src/sys/dev/wsfont/spleen5x8.h,v
retrieving revision 1.3
diff -u -p -r1.3 spleen5x8.h
--- sys/dev/wsfont/spleen5x8.h 8 Jun 2019 07:44:07 -0000 1.3
+++ sys/dev/wsfont/spleen5x8.h 2 Oct 2019 20:54:25 -0000
@@ -1,7 +1,7 @@
/* $OpenBSD: spleen5x8.h,v 1.3 2019/06/08 07:44:07 fcambus Exp $ */
/*
- * Copyright (c) 2018 Frederic Cambus <[email protected]>
+ * Copyright (c) 2018-2019 Frederic Cambus <[email protected]>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -254,7 +254,7 @@ static u_char spleen5x8_data[] = {
0x00, /* ........ */
0xf0, /* ****.... */
0x90, /* *..*.... */
- 0x20, /* ..*..... */
+ 0x10, /* ...*.... */
0x20, /* ..*..... */
0x40, /* .*...... */
0x40, /* .*...... */