Xgdvi adopts VFlib 3.6 as an internal font module. Font setting is done by a configuration file called ``vflibcap''. Please see the manual of VFlib how to write it.
The VFlib library supports following font formats:
Note: Syntax rule and setting up vflibcap is not easy for novice. I recomment to use vflmkcaptex program (included in VFlib) to generate vflibcap automatically.
Note: Currently, Type 1 fonts with multiple-byte encoded characters can not be used. Some TrueType fonts have different character encoding from TEX original character encoding; such fonts cannot be used.
The path name of a vflibcap to be used is
/usr/local/share/VFlib/X.Y.Z/vflibcap-texwhere X.Y.Z is the version number of VFlib linked against xgdvi. For instance, it would be 3.6.0 for VFlib 3.6.0.
Whenever new VFlib is installed, the path name of vflibcap changes according to the scheme above. To avoid modify vflibcap when new VFlib is installed,
/usr/local/share/VFlib/site/vflibcap-texis used if it exists, before checking version dependent vflibcap.
In addition, path name of vflibcap file can be explicitly given by -v option when xgdvi is invoked.
When you compile VFlib, I recommend to configure VFlib to use FreeType (a TrueType font rasterizer), T1Lib (a Type 1 font rasterizer), and Kpathsea (a TEX -related file searching library).
Computer Modern fonts in Type 1 format can be obtained from following URL.
http://www.ctan.org/tex-archive/fonts/cm/ps-type1/