hi people, could you help me ? where can i send bug reports ? pdf-api2 really rocks, but i have big problem. when i use localization in perl (such, that uses...
Ing. Andrej Košec...
andrej@...
Nov 2, 2004 9:10 am
2343
This is from way back but Stephen Bill or anybody else... do you have any code to share for creating tables? We have code for that that works in html and will...
Hello, I searched the archive and found a few mentions but could not find the solution.... When I run a test script it returns this error: Unknown encoding...
... You should check your psfonts and make sure the fonts arein the path. Also check the fontnames: Is the font called Helvetica-Bold or HelveticaBold? Try...
Hi, I make pdf files with ttf fonts in different encodings, whith the iso-8859-9 encoding, The scedilla and Scedilla characters are not displayed in "older"...
Fredo hit the nail on the head... That was the problem... Fredo, you sir are cool... Very cool. As a technogeek for the last 14 years I can really appreciate...
I'm not sure what exactly you are asking. I'll answer how I deal with putting objects on a page (text image pdf etc.). sub INCH {72}; # put text at 4 inches by...
Mark Fowle
mfowle@...
Nov 18, 2004 4:02 pm
2353
Shoot. So I get all excited about upgrading to the dev release of .40_67 (for the openScalar function) and then I go and discover that it requires 5.008. But...
hi! ... unicode is an essential building-block for font-support. if you dont want to write anything (not even ascii), you could patch the module ;) cheers, -- ...
... Here is a program that prints a 1/10 inch grid. It has two pages for those who do duplex printing. When you hold the page up to the light, the grids should...
Hello, There were a number of posts in the archive about a styled text widget that lets you control aspects of text and also use html styles in paragraph text...
... PDF does not have any margins. The media box is the area on the paper where the printer can physically print. If you do not specific the media box, the PDF...
txt objects can be reused: my $txt1_1 = $page->text ; $txt1_1->compress ; $txt1_1->font($font, 20); $txt1_1->translate(5.6*72, 6.5*72); ...
Mark Fowle
mfowle@...
Nov 19, 2004 3:48 pm
2361
... The difference is how much work you do and how much you leave to PDF::API2. Don't forget in PDF a font is a just another graphic object. ... I re-use the...
So since we can't determine the printable area of the printer... Do you just try to use a decent margin and assume it works on most printers? If we have a 0.5...
I believe the default in most windows programs is shrink to fit(all Adobe acrobat readers that I have seen). So if you chose a page size of 8.5x11 you will...
Mark Fowle
mfowle@...
Nov 19, 2004 8:30 pm
2364
How do I create an image object from a .jpg or .gif image on the disk (i.e. I know the path to the image) and then add it to a page? I saw a couple of posts...
... This works for me. See perldoc PDF::API2::Content for details on $gfx->image(). #!/usr/bin/perl use PDF::API2; my $imageFile = 'test/jpg'; my $doc = new...
use PDF::API2; $pdf = PDF::API2->new; $gfx = $page->gfx(); $txt = $page->text(); $img = $pdf->image('/path/picture.jpg'); # image is (image,x,y,width,height) ...
Mark Fowle
mfowle@...
Nov 22, 2004 1:53 pm
2368
hi! no fix, sorry. adobe changed its glyph-list two times (AGL 1.1/1.2) before 2001, and than again to match the unicode 3.0 and opentype specs. so the effect...
hi! ... the "unknown" default page-size is documented in the pdf-spec, which is 8.5x11 in. a reasonable (publishing wise) margin is 36pt. (= 0.5 in.), but i...
hi! ... Text::PDF::API is ages old (1998?) module code long out of service. the basic code readslike this: #!/usr/bin/perl use PDF::API2; $pdf=PDF::API2->new; ...