I am afraid this question should have rather been addressed to PDF experts, but some of the honorable Perl Monks might know this as well...
When creating a PDF file, I need to display certain CEE characters, such as Ccaron, rcaron etc., which are not part of the standard PDF encodings.
Now, I am looking for a hint/pointer to answer one of the following problems:
-
PDF files can contain embedded fonts. I parsed one such document in Czech, containing three TrueType fonts. I looked into the data structure created by PDF but cannot see where the font actually is. One day, if I find the hidden font, does anyone know how to re-embed such font in a newly created document?
- If I happen to detect CEE capable fonts in the latest distribution of Acrobat Reader, how can I define my favorite CEE font in the created document? And where could I find the respective encoding table for translation from, let's say Windows-cp1250 to that used in PDF?
-
... or would it help if I passed a Unicode string to PDF::Create::string ?
-
... or is perhaps the easiest way to generate a PostScript (which I understand better than PDF) and push it through some sort of PS2PDF pipe or filter?
BTW, my final goal is to generate something on-line from Apache/mod_perl, so there may be an entirely different solution after all.
I would be very grateful for a hint...
Jindra Vavruska