summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJens Schweikhardt <schweikh@schweikhardt.net>2025-08-31 11:19:44 +0200
committerJens Schweikhardt <schweikh@schweikhardt.net>2025-08-31 11:19:44 +0200
commit1ba7b3a044045ea2aa91dd46acc3a1b4531a8bc1 (patch)
treef09f7fbc3f8d1c600ca03e7350aeea445c51b3e4 /README.md
parent1abec752a5f4d50ff1e77c870a63a2a194ab8374 (diff)
Replace renumber.pl with hextosrc.c. Improved TTF.
* Introduce VERSION and HASH for utility programs. * Fontlint complained about the + in BDF U+1234 character names, so I changed them to U1234.
Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 27 insertions, 1 deletions
diff --git a/README.md b/README.md
index d051fd6..04b8072 100644
--- a/README.md
+++ b/README.md
@@ -158,6 +158,32 @@ The glyphs in this gallant project would have to be severely reduced in
number to fit. If someone wants to contribute a stripped down font in
the appropriate format, I'm willing to add it to this project.
+### What about the TrueType gallant.ttf?
+
+Some systems no longer support BDF (or PCF) fonts. The days of raster
+fonts are numbered, it would seem. With high DPI displays these days,
+rendered anti-aliased fonts are the new norm.
+
+The `gallant.ttf` file is a conversion from BDF to TTF using
+[FontForge](https://fontforge.org/en-US/). (See the
+[GNUmakefile](GNUmakefile) for the scripted command sequence.) A TTF
+font can contain a raster font at its design size; sometimes this is
+called a *bit strike*. On systems supporting TrueType you may be able to
+use Gallant. The font family name is `Gallant12` to disambiguate it from
+`gallant` and to indicate that the design size is 12. Usage example with
+xterm:
+
+```
+xterm -fa Gallant12:size=12
+```
+
+You *can* use a larger `size` value, but that will only affect the line
+spacing, not the glyph size. Visually this is most apparent in the box
+drawing characters, where there will be vertical gaps. The same applies
+to all glyphs that connect to glyphs above and below, such as large
+parentheses, braces, brackets, integrals, etc.
+
+
## Who are you?
I'm an ex-Sun Microsystems software engineer who had a stint in the
@@ -175,7 +201,7 @@ notice in [NetBSD's
gallant12x22.h](https://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/dev/wsfont/gallant12x22.h)
which reads:
-```c
+```
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.