Is there a possibility in Zend_Pdf to increase the letter spacing? I can't seem to find it anywhere.
Asked
Active
Viewed 690 times
2 Answers
0
Go through this Is possible convert HTML into pdf using Zend_Pdf?
and later realize that you need CSS to increase letter spacing.
Hope it helps.

Community
- 1
- 1

Keval Domadia
- 4,768
- 1
- 37
- 64
-
Hi @KarmicDice, I've read through this post, but this is more about converting HTML to PDF. In my case i want to increase the space between the characters "just like CSS letter-spacing". I can't seem to find how this is done with Zend_Pdf in the link you post. – Jeroen v G Oct 24 '12 at 13:17
-
use CSS... I have used fpdf for few projects where I have let CSS handle the letter spacing and I would embed it as a style attr of the DOM element... which was easier :) Works for you? – Keval Domadia Oct 25 '12 at 04:29
0
To the best of my knowledge there is no pitch control in Zend_Pdf
- it is reliant upon the glyph widths in the font definition. Having said that, I don't remember it being an option in FPDF
or TCPDF
either.

JamesG
- 4,288
- 2
- 31
- 36