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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.