ref: 8d5df0101c63e13421362d4b31be059c071ed391
parent: 68df4a48396813c228a3bc55fa6544cd2a630f6a
author: sl <sl@habu>
date: Sun Dec 14 01:48:08 EST 2025
r: use different fonts for different vertical resolutaions.
--- a/r
+++ b/r
@@ -1,5 +1,5 @@
#!/bin/rc
-# 2025-10-17T19:59:34-04:00
+# 2025-12-14T01:40:36-05:00
# bof: http://shithub.us/qwx/fork/HEAD/info.html
# rio.themes: https://ftrv.se/14
# copy this file to $home/bin/rc and modify to suit.
@@ -8,12 +8,13 @@
scr=(`{cat /dev/draw/new >[2]/dev/null})w=$scr(11)
h=$scr(12)
-switch($w){-case 28*
+switch($h){+case 2*
font=/lib/font/contrib.bit/hugevga/unicode.font
-case 21* 22* 25*
- #font=/lib/font/bit/lucidasans/unicode.10.font
+case 1504
font=/lib/font/bit/pelm/unicode.12.font
+case 1440
+ font=/lib/font/bit/lucidasans/unicode.10.font
case *
font=/lib/font/bit/vga/unicode.font
}
--
⑨