... Would you mind sharing an example? ... I was trying with DejaVu. ... With core fonts: use Test::More tests => 2; use strict; BEGIN { use_ok('PDF::API2') };...
3724
Roger Burton West
roger@...
Sep 7, 2010 3:55 pm
... For me: plenty of warnings and nothing in pdftotext, but evince doesn't complain. Seems to be consistent over multiple fonts. When I've seen this sort of...
Its a huge script but yes.. I have managed to show how it works with its two main functions. most of the other part in the original script is from the...
... Thanks for sharing. If I call it with global warnings turned on (the -w flag) then I get the same set of warning messages as with my example. And pdftotext...
Figured it out. I was missing the -unicodemap => 1 option: #!/usr/bin/perl -w use strict; use PDF::API2; my $pdf = PDF::API2-> new(-file => 'test.pdf'); my...
... I think it's PDF::API2 that's complaining. Try opening the PNG with GIMP and "Save as..." and change its interlace options or remove interlacing...
3732
Michiel Beijen
michiel.beijen@...
Mar 7, 2011 8:01 pm
Hi, My name is Mike and I work on the OTRS.org project. We use the PDF::API2 module to generate PDFs. One of our users reported a while ago that they aren't...
... No but the viewer must have the ttfont on his machine. PDF::API2 creates PDFs, version 1.4. In 1.4, the corefonts are not embedded in the document. This...
3734
Roger Burton West
roger@...
Mar 7, 2011 8:23 pm
... That shouldn't affect pdftotext, which doesn't look for font resources at all. R -- <<< Everything below this line is inserted by YahooGroups >>>...
... As soon as you use a unicode font, you can't convert the glyphs in the PDF into text without help. This help is an optional map linking the glyph to the...
... I should also point out, that if you start perl with the -w flag, i.e. #!/usr/bin/perl -w which is global, as opposed to the use warnings, which is scoped,...
3737
Michiel Beijen
michiel.beijen@...
Mar 7, 2011 9:41 pm
Hi Jeffrey! On Mon, Mar 7, 2011 at 10:08 PM, Jeffrey Ratcliffe ... Thanks! That was very helpful. It now works for me. I guess it should be added to the...
Can someone let me know how to create a pdf file by importing all the images from a tiff (tagged image file format) file having multiple pages. I tried with...
... This is what I do in gscan2pdf. However, if you are just interested in turning a multipage TIFF into PDF, then there is always tiff2pdf Regards Jeff...
Thanks for your responses. I noticed that tiff2pdf is a separate utility which you need to purchase. Also found that its mostly for windows platform. Do you...
Thanks Rick. Installed libtiff-3.8.2-7.el5_6.6 package on the linux box and was able to use the tiff2pdf utility for converting the tiff file having multiple...
I'm wondering if anyone has had experience of using PDF::API2 for creating PDFs in Arabic. I've been playing around with this for a few days and have managed...
I'm running on a Mac and have a cyrillic font installed at /sw/lib/X11/fonts/applettf/CharcoalCY.ttf. Here's some code: my $p = PDF::API2->new(); my $page =...
API2 is unicode aware. Try using -encode => 'utf8', instead of -encode => 'unicode', in your font declaration. That works for me. Also, you may find it a...
Thank you for the reply! At least I now have some assurance that it can somehow be made to work. In the long run, the unicode characters will certainly be...
Actually, it turns out that it may be a Mac issue. After posting the reply, I did a Google search for the error message you were getting and did find one or...
3751
Roger Burton West
roger@...
May 23, 2012 11:40 am
As a subtask of merging PDFs into a single file, I wish to read outlines (i.e. what I'd normally call bookmarks) from existing files and extract useful data...