Hi list - Has anyone got any examples (or docs) for using egstate (or should that be extgstate) text objects and fonts - I want to set text to be "overprint...
Hi! Has anyone made use of the Resource::Shading object to create a gradient? I'm specifically looking at an Axial type of gradient. If you have any...
Dear Group, Is there any way I could "Enable Comments" feature in my 1.4 PDF using API2? Regards Dominic...
Aqua
aqua@...
Apr 11, 2006 2:11 pm
2860
Hi! I'm trying to take a pdf, and a description of various fields on it, and create a key where the name of the fields is overlayed onto the pdf. This, of...
... This is light on details but, for Acrobat 5+ Readers you should be able to draw a white semi transparent rectangle over the whole page, and your text / ...
... Do you think you could send me a sample of how you did it anyway? I'm not necessarily tied to PDF::API2 for this; if Text::PDF is easier for this task,...
... I'm not working in PDF any more, but here's a script I modified in 2002. (based on graph.pl from the Text::PDF distribution I think) You should be able to...
... Hi! Thanks! Based on this, I came up with the following PDF::API2 code (this is very rough as I'm just doing a concept right now): my ($llx, $lly, $urx,...
Hi, I found PDF::APIx::Layout to be very very helpful in adding content to predefined PDF documents. Many thanks to Alfred for this incredible module. ...
Is it a bug that the +/- character (0xB1) is not rendered by Times and Courier corefonts, or is this character simply missing? This is how to reproduce the...
I get from the docs how to make an image file. Basically, my $picture = '/path/to/picture'; my $photo = $page->gfx; my $photo_file=$pdf->image_jpeg($picture); ...
I would suspect you could go via a GD image object from a stream [haven't tried myself] - though I have found during recent experiments that the speed, ...
... I don't know why some fonts have one encoding and some have another, but you can change it with like so: $pdf->corefont ($font, -encode => 'iso8859-1' ),...
I am generating three-page pdf files with only text and graphics (rectangles, arc, lines). I'm a fair bit surprised to find that these PDF files are over 130kb...
Hello, Somewhere there is a script pdf-optimize.pl It may or may not be installed with PDF::API2, I forget, but it is also available on CPAN under contrib.: ...
Mark Fowle
mfowle@...
May 3, 2006 1:06 pm
2872
... Thanks for that Mark, however it doesn't have the required effect .. the file is now 4 bytes LARGER! pdf-optimize.pl /tmp/Cheese.large.pdf...
OK I have only seen that in situations where the pdf is already very clean, either the pdf is simple, or the file has already been cleaned. There are other...
Mark Fowle
mfowle@...
May 4, 2006 1:25 pm
2874
I saw drastic differences in the size of the resulting pdf's depending on the types of the images that I was putting into the pdf. Different image formats...
Bascially I need to process existing PDFs and perform the following operations. * Build a basic semantic understanding of the document based on the tagged ...
... but ... This worked, however it introduced another problem. Both Times and Courier (the ones that would not print the +/- sign) after having their encoding...
Greetings. I was wondering is there a way to replicate streams for content that is absolutely identical (including position) and is present on several pages,...
The encoding of the Adobe core fonts is AdobeStandardEncoding. PDF supports 4 ( STD, MAC, WIN, PDF) Also, there are 14 core fonts in the following families:...
Content for a page can in one or more indirect objects each of which would have to be a content stream. I am not sure how PDF::API handles it, but yes, the...
I want to open an existing PDF and add something to the background. How can I do that? (if I simply draw on the page everything is being placed on top of the...
According to Appendix D of the 1.5 PDF Specification, the +/- is 0xB1 (octal 261) which is decimal 177 for all encodings EXCEPT STD. The only way you can get...
As noted in the POD for PDF::API2::Page (though not explained very well) if you obtain a reference to a text or gfx object and supply a true value as a...
... 0xB1 (octal 261) which is decimal 177 for all encodings EXCEPT STD. The only way you can get a different character is if the /Encoding in the PDF is...