Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/local/programs/bdfload include glyph name in -d output
details: https://anonhg.NetBSD.org/xsrc/rev/a03929ef3782
branches: trunk
changeset: 7584:a03929ef3782
user: macallan <macallan%NetBSD.org@localhost>
date: Thu Jul 27 08:44:42 2023 +0000
description:
include glyph name in -d output
diffstat:
local/programs/bdfload/bdfload.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 850694adf302 -r a03929ef3782 local/programs/bdfload/bdfload.c
--- a/local/programs/bdfload/bdfload.c Thu Jul 27 08:30:02 2023 +0000
+++ b/local/programs/bdfload/bdfload.c Thu Jul 27 08:44:42 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bdfload.c,v 1.19 2022/10/25 13:36:35 macallan Exp $ */
+/* $NetBSD: bdfload.c,v 1.20 2023/07/27 08:44:42 macallan Exp $ */
/*
* Copyright (c) 2018 Michael Lorenz
@@ -320,6 +320,9 @@ interpret(FILE *foo)
"syntax error - no valid FONTBOUNDINGBOX\n");
memset(cbitmap, 0, charsize);
strlcpy(charname, arg, 64);
+ if (dump && (strlen(charname) > 0))
+ printf("name: %s\n", charname);
+
} else if (strcmp(line, "ENDCHAR") == 0) {
in_char = 0;
/* only commit the glyph if it's in range */
Home |
Main Index |
Thread Index |
Old Index