Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wsfont Sort Droid Sans Mono family fonts by size.



details:   https://anonhg.NetBSD.org/src/rev/bc3c395a5328
branches:  trunk
changeset: 1026351:bc3c395a5328
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Nov 20 00:00:19 2021 +0000

description:
Sort Droid Sans Mono family fonts by size.

diffstat:

 sys/dev/wsfont/files.wsfont |   4 ++--
 sys/dev/wsfont/wsfont.c     |  14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (59 lines):

diff -r 8a5f0d8d536f -r bc3c395a5328 sys/dev/wsfont/files.wsfont
--- a/sys/dev/wsfont/files.wsfont       Fri Nov 19 23:55:16 2021 +0000
+++ b/sys/dev/wsfont/files.wsfont       Sat Nov 20 00:00:19 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.wsfont,v 1.28 2020/11/21 23:00:02 rin Exp $
+#      $NetBSD: files.wsfont,v 1.29 2021/11/20 00:00:19 rin Exp $
 
 defpseudo wsfont
 
@@ -25,8 +25,8 @@
                                FONT_SONY12x24
                                FONT_OMRON12x20
                                FONT_DEJAVU_SANS_MONO12x22
+                               FONT_DROID_SANS_MONO9x18
                                FONT_DROID_SANS_MONO12x22
-                               FONT_DROID_SANS_MONO9x18
                                FONT_DROID_SANS_MONO19x36
                                FONT_GO_MONO12x23
                                FONT_SPLEEN5x8
diff -r 8a5f0d8d536f -r bc3c395a5328 sys/dev/wsfont/wsfont.c
--- a/sys/dev/wsfont/wsfont.c   Fri Nov 19 23:55:16 2021 +0000
+++ b/sys/dev/wsfont/wsfont.c   Sat Nov 20 00:00:19 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wsfont.c,v 1.73 2021/11/19 23:55:16 rin Exp $  */
+/*     $NetBSD: wsfont.c,v 1.74 2021/11/20 00:00:19 rin 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.73 2021/11/19 23:55:16 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1.74 2021/11/20 00:00:19 rin Exp $");
 
 #include "opt_wsfont.h"
 
@@ -130,16 +130,16 @@
 #include <dev/wsfont/DejaVu_Sans_Mono_12x22.h>
 #endif
 
+#ifdef FONT_DROID_SANS_MONO9x18
+#define HAVE_FONT 1
+#include <dev/wsfont/Droid_Sans_Mono_9x18.h>
+#endif
+
 #ifdef FONT_DROID_SANS_MONO12x22
 #define HAVE_FONT 1
 #include <dev/wsfont/Droid_Sans_Mono_12x22.h>
 #endif
 
-#ifdef FONT_DROID_SANS_MONO9x18
-#define HAVE_FONT 1
-#include <dev/wsfont/Droid_Sans_Mono_9x18.h>
-#endif
-
 #ifdef FONT_DROID_SANS_MONO19x36
 #define HAVE_FONT 1
 #include <dev/wsfont/Droid_Sans_Mono_19x36.h>



Home | Main Index | Thread Index | Old Index