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;
In reply to PDF search problem by stolara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |