Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: antiword config file missing< Next Oldest | Next Newest >
odradek Offline





Group: Members
Posts: 10
Joined: Aug. 2006
Posted: Sep. 04 2006,03:35 QUOTE

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.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Sep. 04 2006,17:43 QUOTE

Thanks for sharing. Will add this.
Back to top
Profile PM WEB 
1 replies since Sep. 04 2006,03:35 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: antiword config file missing

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code