summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-07-21 17:59:36 -0600
committerDan Allen <dan.j.allen@gmail.com>2019-07-21 18:12:00 -0600
commit74044eed1904bd8fdd625cf56c91182a68098191 (patch)
tree08374779e8535e488da7646a2605284abcd212eb /scripts
parentab5b4b481d6f4f80a788020d7993067904905aa7 (diff)
add test for box drawing symbols in monospace font
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/subset-fonts.pe8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/subset-fonts.pe b/scripts/subset-fonts.pe
index 298d696e..d27d28fa 100755
--- a/scripts/subset-fonts.pe
+++ b/scripts/subset-fonts.pe
@@ -322,10 +322,10 @@ while (fi < num_code_fonts)
SelectNone()
if (code_script == "ascii")
# Basic Latin (e.g., Code)
- SelectMore(0u0020,0u007e)
+ Select(0u0020,0u007e)
# No-break space
SelectMore(0u00a0)
- # Box drawing symbols for unix `tree` output
+ # Box drawing symbols (for unix `tree` output)
SelectMore(0u2500,0u257f)
if (new_basename == "mplus1mn-regular")
# Enclosed numbers (1-20 circled and filled)
@@ -337,6 +337,10 @@ while (fi < num_code_fonts)
SelectInvert()
Clear()
SelectNone()
+ ## Adjust width of box drawing symbols (not working)
+ #Select(0u2500,0u257f)
+ #SetWidth(50, 2)
+ #SelectNone()
endif
SetFontNames(new_basename, "M+ 1mn")
# repurpose light as italic