contact: Add my name to the contact page
[blog.git] / posts / Fonts.mdwn
index 7fcc91434629caf8b190f4e97d475396469ce765..d24ece207042b4cf0bea2a99e074a7e5c7f4a004 100644 (file)
@@ -14,6 +14,22 @@ up by X.  You can use `fc-list` to list fonts that X can find.
     Shalom:style=Stick
     …
 
+For more details on a font, you can set the [format][]:
+
+    $ fc-list -f '%{family}\t%{file}\n'
+    Ann     /usr/share/fonts/freefonts/ans.pfb
+    Goudy-Old-Style /usr/share/fonts/freefonts/goudyob.pfb
+    Nimbus Roman No9 L      /usr/share/fonts/urw-fonts/n021003l.pfb
+    …
+
+Or just use `--verbose`:
+
+    $ fc-list -v
+    Pattern has 15 elts (size 16)
+            family: "Ann"(s)
+            style: "Stone"(s)
+    …
+
 You can use `xset` to query the font path for your current X server.
 
     $ xset q
@@ -58,6 +74,7 @@ page.  Kevin Bowling also has some interesting notes about
 
 
 [fontconfig]: http://fontconfig.org/
+[format]: http://freedesktop.org/software/fontconfig/fontconfig-devel/fcpatternformat.html
 [gucharmap]: http://live.gnome.org/Gucharmap
 [OFL]: http://openfontlibrary.org/
 [TrueType]: http://en.wikipedia.org/wiki/TrueType