Will the source of a PDF file or how it is initially created going
to determine whether I can add text on top of an existing design?
In principle, yes, that's possible. I can
think of at least a few conceivable reasons. For instance,
- there are several PDF versions1 (current is 1.7), and
the editing tool you're using might not be compatible with a particular
feature the PDF file is making use of.
- more basically, most (free) tools simply aren't implementing the
entire set of PDF features from the spec. And sometimes, features are
interdependent in the sense that if you can't correctly parse some
structure to locate whatever object you're trying to modify, you're
going to have a hard time manipulating it...
- the existing document is incompliant in one way or another
(sure, should not happen, but as we all know, software may have bugs,
occasionally).
- encryption/signing may lock down certain content or allowed
actions (though that seems less likely in your case)
- ... ...
But I suspect that your question is not an end in itself... so, in
order to elicit more useful replies, it would help if you provided some
details, like
- what exactly you are trying to do, i.e. adding/modifying ordinary
content (like the node title suggests) or rather filling in forms (like
what is primarily being discussed in the thread you linked to)?
- some actual code, showing what tools (CAM::PDF, PDF::API2, etc.)
you've tried in what ways to accomplish the editing.
- make accessible somewhere a sample scribus-generated PDF file
which exhibits the problem in combination with what you've tried.
___
1 For some indication of the version, look at the
first few bytes of the document, it says something like %PDF-1.6
— though the version therein does not necessarily correspond to
the feature set actually required... Many PDF creation tools
don't go to the trouble of adjusting this header dynamically
to hold the minimal version required, depending on which features are really
being used in the document (similar in spirit to "use 5.006" in a Perl script), but
rather just dump the version the tool itself is maximally supporting.
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.