stolara has asked for the wisdom of the Perl Monks concerning the following question:
I created pdf documents with PDF::API2 and PDF::Reuse, but the search function in adobe reader doesn't work. I used UTF-8 characters in both packages and an external *.ttf font to see the proper characters. Everything seems to be fine, but the search option doesn't work. Any idea? /The code is more complicated but I reduced it for better understanding./ The reduced code:
use PDF::Reuse; use Encode; prFile('test.pdf'); #reading UTF-8 data from file open FILE, "<testFile.txt"; $content = ""; while (<FILE>) { $content .= $_; } prTTFont('arial.ttf'); prText(100, 100, decode('UTF-8', $content)); prEnd(); close FILE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PDF search problem
by roboticus (Chancellor) on Jul 04, 2012 at 00:09 UTC | |
by stolara (Initiate) on Jul 09, 2012 at 20:27 UTC | |
|
Re: PDF search problem
by zentara (Cardinal) on Jul 04, 2012 at 14:32 UTC | |
by stolara (Initiate) on Jul 09, 2012 at 20:30 UTC | |
by zentara (Cardinal) on Jul 09, 2012 at 21:51 UTC | |
by stolara (Initiate) on Jul 14, 2012 at 09:50 UTC | |
by zentara (Cardinal) on Jul 14, 2012 at 10:30 UTC | |
|