FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 07-29-2011, 09:35 PM
Default Need help to batch create pfm files via pf2afm

On 07/29/2011 02:18 PM, Avi Greenbury wrote:
> NoOp wrote:
>> I've a large amount of licensed postscript fonts that I'd like to use
>> in OpenOffice/LO. I have both the .pfb and .pfm files in the same
>> folder and can generate the .afm file via:
>> $ pf2afm <fontfilename>
>> Unfortunately that will get old real fast with 400 font files. How
>> would I go about using pf2afm to batch convert all 400 in one go?
>> Note: Abiword only needs the .pfb, but OOo/LO require the .afm.
> It's not clear quite which you'd like, but if it's for every file in
> the directory, then in a bash prompt in the directory in question:
> for file in *; do pf2afm $file; done
Magic! Thanks Avi, I owe you one. :-)

ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 06:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org