[dev] Newbie font question

From: Parke <parke.nexus_AT_gmail.com>
Date: Fri, 10 Jan 2014 14:38:25 -0800

Hi,

I want to configure/compile st to use the font shown on the right hand
side of this screenshot:
http://st.suckless.org/screenshots/20h-2012.png

Running the following command will also display the font I want:
xfontsel -pattern -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-iso8859-1

Based on the link provided in config.h...
http://freedesktop.org/software/fontconfig/fontconfig-user.html

... I tried the following in config.h:
static char font[] =
"Fixed:foundry=misc:weight=medium:slant=roman:width=semicondensed:pixelsize=13";

It compiles and runs, but I do not get the font I want.

The following also did not work:
static char font[] =
"-misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-iso8859-1";

If I try fc-match:
fc-match 'Fixed:foundry=misc:weight=medium:slant=roman:width=semicondensed:pixelsize=13'
DejaVuSansCondensed.ttf: "DejaVu Sans" "Condensed"

I do not think DejaVuSansCondensed.ttf is the font I want. (I am
pretty sure I do not want a ttf font - although I may have a ttf
version of my font on a Windows box.)

Any advice would be appreciated. Thanks!

-Parke
Received on Fri Jan 10 2014 - 23:38:25 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 10 2014 - 23:48:06 CET