Skip to content

Commit

Permalink
Reduce the complexity of some methods
Browse files Browse the repository at this point in the history
  • Loading branch information
gansm committed Nov 18, 2023
1 parent 52d2199 commit 849f686
Show file tree
Hide file tree
Showing 17 changed files with 568 additions and 198 deletions.
2 changes: 1 addition & 1 deletion final/font/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ EXTRA_DIST = \

docdir = ${datadir}/doc/${PACKAGE}
doc_DATA = \
newfont.txt
newfont.txt

fontdir = ${datadir}/fonts/X11/misc/${PACKAGE}
font_DATA = \
Expand Down
4 changes: 2 additions & 2 deletions final/font/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Simply start your program with the parameter `--newfont`.
### How can I use the new graphical font under X11?

The use of the new graphical font under X11 is only possible with
the terminal emulators
the terminal emulators
[xterm](http://invisible-island.net/xterm/xterm.html)
or
or
[urxvt](http://software.schmorp.de/pkg/rxvt-unicode.html),
because only these terminal emulators can change the font by
using an escape sequence. For an xterm, the "[Allow Font Ops](../../doc/xterm.txt)"
Expand Down
2 changes: 1 addition & 1 deletion final/font/bdfmerge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sed -n "1,/^CHARS /p" "$FONT2"
# Get glyphs
sed -n "/^STARTCHAR /,/^ENDCHAR/p" "$FONT1" \
| sed -e "s/^ENDCHAR/ENDCHAR$DELIMITER/" \
| while read -r -d "$DELIMITER" GLYPH
| while read -r -d "$DELIMITER" GLYPH
do
CODE=$(getCode "$GLYPH")

Expand Down
4 changes: 2 additions & 2 deletions final/font/map-newfont
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#
# Name: newfont to Unicode
# Name: newfont to Unicode
# Unicode version: 3.0
# Table version: 1.0
# Table format: Format A
# Date: 2019 October 27
# Authors: Markus Gans <guru.mail@muenster.de>
#
#
# General notes: none
#
# Format: Three tab-separated columns
Expand Down
4 changes: 2 additions & 2 deletions final/font/map-vga
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#
# Name: vga to Unicode
# Name: vga to Unicode
# Unicode version: 3.0
# Table version: 1.0
# Table format: Format A
# Date: 2019 October 27
# Authors: Markus Gans <guru.mail@muenster.de>
#
#
# General notes: none
#
# Format: Three tab-separated columns
Expand Down
Loading

0 comments on commit 849f686

Please sign in to comment.