views:

31

answers:

2

Hi

I'm implementing a pdf generator in PHP I have problem with word spacing, the option doesn't work or i'm not using word spacing parameter properly. I need this option to render text justified. The character spacing parameter works properly. This is how I'm rendering text:

BT

/F1 12 Tf

0 829 Td

5 Tw

(Hello world) Tj

ET

Word spacing parameter is bold. What i'm doing wrong?