antiword config file missing


Forum: Apps
Topic: antiword config file missing
started by: odradek

Posted by odradek on Sep. 04 2006,03:35
Hi, my notes refer to the dsl 3.0.1 livecd.  The antiword app is included, but if I try to run it to generate postscript, for example:

antiword -p legal foo.doc > foo.ps

I see the error message

I can not open your fontnames file for reading

I did some digging and the file its looking for is /usr/local/lib/siag/antiword/fontnames

I downloaded the antiword source tarball from the antiword webpage and copied antiword*/Resources/fontnames to /usr/local/lib/siag/antiword/fontnames and the error went away.

But it is a 4k file, so if its not included in the dsl livecd due to filesize, I was going to suggest a simple replacement file:

/usr/local/lib/siag/antiword/fontnames
Code Sample
# map all fonts to courier
*, 0, 0, Courier, 0
*, 0, 1, Courier-Bold, 0
*, 1, 0, Courier-Oblique, 0
*, 1, 1, Courier-BoldOblique, 0


Its just a 134 character file, and allows bold and italics to be displayed in the postscript.

Posted by roberts on Sep. 04 2006,17:43
Thanks for sharing. Will add this.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.