Displaying 1 result from an estimated 1 matches for "xfigdesc".
2000 Sep 11
1
R 1.1.1 (and 1.2.0) on Mac (PPC) and "/afm/" bugs (?)
...2. About the bug (?)
I've to remark one problem in the source code of PS and Xfig devices.
When the device look for "afm" it is system dependent because slashes
such "/" are used to search for fonts:
i.e. (in xfig, the same is for PS)
static int XFig_Open(DevDesc *dd, XFigDesc *pd)
{
char buf[512];
int i;
for(i = 0; i < 5 ; i++) {
sprintf(buf, "%s/afm/%s.%s", R_Home, <--- HERE
Family[pd->fontfamily].font[i].abbr,
(i == 4) ? "afm" : Extension[pd->encoding]);
the slashes should be replaced by the FILESEP d...