Hi, I have found a problem with unbalanced q/Q (save/restore) operators after using importpage(). There are two q's more than Q's in the page. I have tracked...
Stefan Scherer
twiki@...
Feb 3, 2003 9:56 am
1477
hi! ... installing from cpan is currently broken since it will get you 0.2.3.8_fix1 which is the eldest release available there. please get it from: ...
Sorry, I forgot to mention that I'm already using 0.3b39. I have retried the test script with a perl 5.6.1 environment on SuSE 7.3, but Ghostscript still shows...
Stefan Scherer
twiki@...
Feb 3, 2003 12:57 pm
1479
hi! ... could you try 0.3b40 ? -- __ _ / _|_ __ ___ __| | ___ unix, linux, freebsd...
Hi! ... Ok, there are less q's, but also one Q less, so the q/Q operators are still unbalanced. Now the created stream looks like: stream q #...
Stefan Scherer
twiki@...
Feb 3, 2003 2:38 pm
1481
Hi! ... If I add the following line to the test script $pdf->{forcecompress}=0; then the stream is ok. So it should be something in the compression code. ...
Hi, thanks for the quick responses! With uncompressed output, it still is ok with 0.3b41. But with compression now there is one Q too much, sorry. The...
Stefan Scherer
twiki@...
Feb 3, 2003 4:31 pm
1484
please re-download 0.3b41 from my server or cpan ... it, works here flawlessly. -- __ _ / _|_ __ ___ __| | ___ unix, linux, freebsd...
Hi, ... Yes, the version 0.3b41 now works very well. Thank you very much. I send you a new test which you may add to your distribution. This test tests the two...
Stefan Scherer
twiki@...
Feb 3, 2003 6:20 pm
1486
Hi. I have only been programming for 4 months so I apologise if my question isn't well articulated. I am using version PDF-API2-0.3a30. I am parsing a database...
... The alternative is to decide the paragraph height first, and then reduce the font size until it fits, but this leaves you with the same problem. ... This...
On Tue Feb 4, 2003 11:48 pm woody@s... wrote ... Cheers, Woody I see what you mean, but I have to keep a fixed font size. I will be able to choose this size...
Hi! I am still looking for some help with my prior question on how to determine the height of a paragraph of text of variable length. Also I seem unable to...
... ($w,$y)=$txt->paragraph(...); $w ... width of the text on the last line. $y ... lower y-coord of the baseline on the last line. ... this currently 'works...
On Wed Feb 5, 2003 6:50 pm Fredo wrote ... Thanks for the advice, Fredo. Color is sorted. However, there is 1 glitch. It seems to use the $txt->paragraph...
hi! ... sorry but this calls for another revelation :) the actuall calling convetion for paragraph is: ($w,$y,$text)=$txt->paragraph(...); with $text being any...
I am having a problem where initial spaces are being collapsed. i.e. The string " bob" is being converted to "bob". The cause appears to be in Text.pm->text...
Hullo! I'm in a desperate struggle with the PDF security /w perl. What I'd like to do is change the security properties of a existing pdf file, thus encrypting...
I tried this, but it won't work... use PDF::API2; $pdf = PDF::API2->open('myfile.pdf'); %myinfo = $pdf->info(); print $myinfo{'Author'}; $pdf->end(); Thanks! ...
Hi, I need to change some "preferences" of an existing pdf. Tried following code: use PDF::API2; $pdf = PDF::API2->open("file_to_change_prefs.pdf"); ...
Hi, I'm not sure, but I think the -ucs2 option would go in your "use" statement, as follows: use PDF::API2 qw(-ucs2); I could be wrong. That said, you can get...
All I want to do is generate text and put it in a PDF, with page breaks after so many lines I've been using the examples as a guide but the best I get is Can't...
... guessing from my crystal ball: 'pebkac'. do you really think i can answer such a question ? if the PDF::API2 is to much for you, try PDF::API2::Lite ! -- ...
... Or overly complex examples There doesn't appear to be one that just puts text into a PDF, they all go through all sorts of loops and font changes and...