Fonts: Difference between revisions

talk about fc-match
add whichfont script
Line 7: Line 7:
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans.ttf: "DejaVu Sans" "Book"
[schwarzgerat](0) $ </nowiki>
[schwarzgerat](0) $ </nowiki>
* What font is used for this character?
<nowiki>
#!/bin/sh
set -e
CHAR="$1"
for i in sans serif mono ; do
  FC_DEBUG=4 pango-view --font=$i -q -t "$CHAR" 2>&1 | \
    grep -o 'family: "[^"]\+' | cut -c 10- | tail -n 1
done
</nowiki>


==Some fonts worth checking out==
==Some fonts worth checking out==