source code for html website at https://zachdecook.com
posts: Update font post
Zach DeCook 2022-06-04
parent 5665978 · commit c9feb1f
-rw-r--r--posts/fonts.md10
-rwxr-xr-xposts/script.sh2
2 files changed, 8 insertions, 4 deletions
diff --git a/posts/fonts.md b/posts/fonts.md
index aac5f5c..0f379f9 100644
--- a/posts/fonts.md
+++ b/posts/fonts.md
@@ -47,12 +47,16 @@ Still, I managed to create almost 50 glyphs before getting tired of the project.
View the homepage for fossmoji at https://zachdecook.com/fossmoji
-## Sanos (2020)
+## Sanos (2020) { #sanos }
Yeah, this is a sans-serif font, though it has nothing to do with a finger-snapping villian. Sanos was named after its parent-font, "Tinos": a font metrically compatible with Times New Roman. Why make a TNR-compatible font? It was all for the music engraving software Verovio, (more on Verovio some other day¹). For automatic spacing, it assumes the font characters are the size of those in Times New Roman. Fortunately, there are several of these: Liberation Serif, Tinos, and Thorndale. Unfortunately, none are sans-serif, which was an important feature for My.Hymnary.org's presentation system we were developing at work.
-=> sanos.png A musical score with Sanos, a sans serif modification of Tinos.
+
+![A musical score with Sanos, a sans serif modification of Tinos.](sanos.png)
+
I opened up Steve Matteson's apache-licensed font using Fontforge, and started tweaking away! My biggest gripe with sans fonts is the Ambiguous Illness: that is, the tendency of the capital I and lowercase l to be indistinguishable. I've been using my preferred solution since grade school: keep the foundation and canopy on the big I. Besides this decision, the modification was fairly straightforward. Credit to Steve Matteson, of course, for Tinos.
-=> sanos.zip Download Sanos
+
+[Download Sanos](sanos.zip)
+
FontForge is really powerful, but pretty clunky; it takes a lot of getting used to. Use it if you have to. Improve it if you'd like to. Modifying an existing font is a good way to get something consistent yet unique. I recommend this method for those who don't mind getting their hands dirty.
## type.txt (Working title, 2021 - )
diff --git a/posts/script.sh b/posts/script.sh
index e9cbb19..5f94e1b 100755
--- a/posts/script.sh
+++ b/posts/script.sh
@@ -7,5 +7,5 @@ mkdir -p tabs ststech rms verovio fonts
cat common.md tightchange.md | python3 -m markdown -o html5 > tightchange/index.html
python3 -m markdown -o html5 < rms.md > rms/index.html
python3 -m markdown -o html5 < verovio.md > verovio/index.html
-python3 -m markdown -o html5 < fonts.md > fonts/index.html
+python3 -m markdown -o html5 -x attr_list < fonts.md > fonts/index.html
cat common.md daily-driver.md | python3 -m markdown -o html5 > daily-driver/index.html