Thnaks Martin. I have tried editing the page metrics, but all that does is alter the physical size of the 'paper background'.
Maybe I did not explain myself correctly. Let please me try again, using a plain text document as an example. With an ascii text document in a text editor, if the line wrap length is 80 characters, then any lines that are longer than that will have a CR added to the end of the line, to make the lines wrap at that line length boundary. Supposing I have an ascii text document in my editor that has been written with a line length of 80 characters. I now decide that I want to make all lines in the document wrap at character position 60. So I set the new line length in the text editor to wrap lines at character 60. Then I reformat the document in the editor, and the editor reformats the ascii text by removing the CR characters at position 80 of each line, and then replaces the CR characters to reformat the ascii text in the appropriate places, so that the lines now wrap at character position 60. So in effect the above reformating procedure has reduced the physical width of the text document by 25%. This is what I'm trying to do to a PDF document with PDFEdit. That will allow me to enlarge the font sizes in a PDF viewer such as KPDF, without loosing text off the RHS of my screen, so I can have a larger font size without having to scroll each line of the PDF document horizontally. I hope that makes things clearer. Kind Regards, Keith Roberts ----------------------------------------------------------------- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] ----------------------------------------------------------------- On Thu, 17 Jan 2008, Martin Petricek wrote: > To: [email protected] > From: Martin Petricek <[EMAIL PROTECTED]> > Subject: Re: [Pdfedit-support] Cannot edit/set line length > >> Hi everyone. I'm trying to edit a PDF document and make the >> line width shorter. I want to view the complete page of a >> document without having to scroll horizontally. > > Well, so you are trying to set width of line of text, so actually a page > width? There is different function for that - Set media box. The function > you have invoked is supposed to set line width of thing like rectangles, > graphics, etc ... this sets how thick is the line with which are these > items drawn. > > "Page -> Edit page metrics" in menu (or corresponding button in toolbar) > will probably do the thing you want. You can alter page size ion the > dialog, thus making it smaller. > >> >> If I load a PDF document, select a page then try to set the >> line width, I get the following error: >> >> PDFedit 0.3.2 >> ... >>> setLineWidth() >> ! In script >> '/usr/local/pdfedit-0.3.2/share/pdfedit/pdfoperator.qs', >> line 15: >> ! TypeError. 'changeableIterator' undefined or not a >> function >>> setLineWidth() >> ! In script >> '/usr/local/pdfedit-0.3.2/share/pdfedit/pdfoperator.qs', >> line 15: >> ! TypeError. 'changeableIterator' undefined or not a >> function > > The error messages are from function isChangeableOp - this one tests > whether selected operator is changeable, but if its parameter is not an > operator at all, it spits out funny error messages. We have to change > that, there is slight bug there related to script callbacks. > > Martin Petricek > > GPG/PGP Public key: http://www.petricek.net/petricm.pgp > Fingerprint 6AA8 FFCE C061 1CB2 55F0 A1F3 3AA9 EB4F BD50 C1B8 > /------------------------------------------------------------\ > | WWW: http://www.petricek.net/ | > \------------------------------------------------------------/ > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Pdfedit-support mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pdfedit-support > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Pdfedit-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdfedit-support
