Article View: comp.lang.postscript
Article #5948paragraph wrappin before printing
From: Christer Lindh
Date: Wed, 16 Dec 1992 06:46
Date: Wed, 16 Dec 1992 06:46
20 lines
1410 bytes
1410 bytes
I'm in the need to wordwrap paragraphs etc into a specified width, and I need to do this before sending to the printer. Thus I could need some good algoritms for calculating string-lengths (preferably including kerning), wrapping paragraphs (no hyphenation needed) etc based on information in AFM-files (which I already have a parser for). References to books/papers/source are welcome too. There used to be a document in the Adobe file-server called "textcalc.ps" that supposedly covered some of these topics, but it's not there anymore. Does anubody know the whereabouts of it? Replies by mail preferred, I'll post a summary on demand. -- :: clindh@abalon.se :: o/ :: :: :: Abalon AB, Stockholm, Sweden :: /@ :: Earth. :: :: 59.19 N, 17.57 E :: <|\ acro :: Love it or leave it. :: :: * All disclaimers apply * :: | phil :: ::
Technical Details
Message-ID:
<CLINDH.92Dec16074603@thomas.abalon.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!usc!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!seunet!abalon!clindhShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!usc!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!seunet!abalon!clindh From: clindh@abalon.se (Christer Lindh) Newsgroups: comp.lang.postscript Subject: paragraph wrappin before printing Message-ID: <CLINDH.92Dec16074603@thomas.abalon.se> Date: 16 Dec 92 06:46:03 GMT Sender: clindh@abalon.se (Christer Lindh) Distribution: comp Organization: Abalon AB, Stockholm, Sweden Lines: 15