XLoadQueryFont Font not found

899 Views Asked by At

I'm trying to use an old binary (HP VEX simulator: http://www.hpl.hp.com/downloads/vex) which uses VCG visualization tool (http://www.rw.cdl.uni-saarland.de/~sander/html/gsvcg1.html).

The binary fails because of a failed function call:

#define VCG_DEFAULT_FONT "-*-courier-*-*-*--14-*-*-*-*-*-*-*" char Xfontname[512] = VCG_DEFAULT_FONT; panel_font = XLoadQueryFont(root_display,Xfontname);

I am wondering if installing the font on the machine would solve this issue? If so, how can I install the font so that XLoadQueryFont function would detect it.

I am using an Ubuntu 16.04.4 LTS.

I would appreciate any other proposed solutions.

Thanks!

0

There are 0 best solutions below