in reply to Re: Rewrapping Net::NNTP output
in thread Rewrapping Net::NNTP output
> 3. Scripting Languages, such as Python or Perl > =============================================== > > ReportLab Toolkit (Python) and PDF::API2 (Perl). > > 4. Lower-Level Programming languages such as C > =============================================== > > Look at PDFlib lite (simple version of the commercial one, not for commercial > use!) and ClibPDF. You will need a C compiler and some experienced C programmers > though.
This will be reflowed to the specified width, using Text::Autoformat, but the broken lines aren't cuddled back up to their previous lines before reflowing the text. It looks like this:
> 3. Scripting Languages, such as > Python or Perl > =============================================== > > ReportLab Toolkit (Python) and > PDF::API2 (Perl). > > 4. Lower-Level Programming languages > such as C > =============================================== > > Look at PDFlib lite (simple version > of the commercial one, not for commercial > use!) and ClibPDF. You will need a C > compiler and some experienced C programmers > though.
The right-column is wrapped to the right width, but the text is still broken up. I wish there was a way to avoid this kind of behavior.
I also tried Text::Reform and Text::Reflow with similar (negative) results.
How are you handling cases like this in your code? You seem to be doing something similar to what I'm doing here also.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Rewrapping Net::NNTP output
by eieio (Pilgrim) on Feb 25, 2005 at 21:08 UTC |