preview_fonts.sh - randomcrap - random crap programs of varying quality
(HTM) git clone git://git.codemadness.org/randomcrap
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
preview_fonts.sh (253B)
---
1 #!/bin/sh
2 # super ugly way to preview fonts of the system using some HTML page.
3 fc-list | \
4 sed -nE 's@^.*: ([^,:]*).*@<font face="\1">\1: Jived fox nymph grabs quick waltz. 0123456789</font><br/>@p' | \
5 sort | \
6 uniq > /tmp/t.html
7 $BROWSER /tmp/t.html