PDF TJ Operator
Moderator: General Moderators
PDF TJ Operator
Anyone know anything about rendering numbers in a PDF document using the TJ operator?
Re: PDF TJ Operator
I'm pretty sure all you need is to put them into parenthesis, like this:
Code: Select all
[(-12.23)] TJ
Re: PDF TJ Operator
It appears the character sets are not mapped literally. So the character 3 might actually be NULL.
Re: PDF TJ Operator
I've built a system that locates place holders in a PDF file and replaces them with customized text. This is used to provide custom PDF documents.
There appears to be multiple font streams per font. If the wrong stream is used arbitrary characters will not render correctly. They either display as if the encoding is wrong or they have a width of 0. I'm wondering if anyone has any experience with this and if there are any workarounds.
Would it be better to use a PDF form and then flatten it?
There appears to be multiple font streams per font. If the wrong stream is used arbitrary characters will not render correctly. They either display as if the encoding is wrong or they have a width of 0. I'm wondering if anyone has any experience with this and if there are any workarounds.
Would it be better to use a PDF form and then flatten it?
Re: PDF TJ Operator
Most pdf editors / printers would not include a character into the font stream if it's not used anywhere in the document - in other words they strip unused characters from the font. Sounds very similar to your issue.They either display as if the encoding is wrong or they have a width of 0.
Re: PDF TJ Operator
I don't know anything about this but since you PMd me figured I'd throw this link out here http://framework.zend.com/manual/en/zend.pdf.html
Re: PDF TJ Operator
Thanks, I think Weirdan might be onto something. I'll do some more research on this.
Re: PDF TJ Operator
@Weirdan, you were 100% correct. Embedding every character into the PDF document solved the problem. Thanks alot.