Graphics: set font size

Hi all,

For a practical session of an OCaml class, we have students program a game using Graphics. We display text and we set the font size with:

set_font "-*-fixed-medium-r-semicondensed--50-*-*-*-*-*-iso8859-1";

because set_font_size is a no-op (at least on my machine). I did not invent this complex string: I copied it from
Unfortunately, it looks like this font is not available by default on a student’s ArchLinux machine. Does someone know which package to install on ArchLinux or a better way to set the font size that is more portable?


It may be that you just are missing that particular font. (That string is an old-style X11 font specification string. If a font that matches it is missing, it will fail.)