From owner-freebsd-questions Mon Jan 12 14:06:21 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA08599 for questions-outgoing; Mon, 12 Jan 1998 14:06:21 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from iglou.com (exim@iglou1.iglou.com [192.107.41.3]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id OAA08354 for ; Mon, 12 Jan 1998 14:04:18 -0800 (PST) (envelope-from patrick@cre8tivegroup.com) Received: from patrick.com [204.255.227.69] by iglou.com with smtp (8.7.3/8.6.12) id 0xrrxn-0004bW-00; Mon, 12 Jan 1998 17:04:08 -0500 Message-ID: X-Mailer: XFMail 1.1 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 12 Jan 1998 16:56:21 -0500 (EST) Organization: The Creative Group From: Patrick Gardella To: questions@freebsd.org Subject: ASCII to PS Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Greetings once again! I need some help on postscript. I am trying to translate ascii into postscript so that it wraps the line correctly. I've used a2ps and GNU enscript, as well as textfmt. None of them do it right. The postscript always comes out as full justified text. The right edge gets wrapped wherever the margin is, not at word boundaries. Is there some application that I can find to wrap the words to the next line instead of splitting them in the middle of a word? I'll write one myself if needed, but why recreate the wheel? (It would vary based on the font used, of course, so it's not so simple as wrapping at 80 characters or the nearest word break. I'd need to compute the amount of space the characters would use.) Thanks, Patrick +-------------------------------------------------------------------+ |Patrick S. Gardella Director of Web Development | | The Creative Group 1-800-804-0783 606-858-9054 (fax) | |-------------------------------------------------------------------| | http://www.cre8tivegroup.com | |-------------------------------------------------------------------| | Patrick@cre8tivegroup.com PGP Key ID 0xEE2D47A9 | +-------------------------------------------------------------------+