PDF::Writer text

P

Patrick Gundlach

Hi,

I'd like to use PDF::Writer and insert a text but with my own word
spacing. Is there any way to do that? Should I use tags for that? I'd
like to have something like "Hello(5mm)Ruby" (syntax doesn't really
matter), such as the Tj text positioning operator in pdf.
Currently I get

BT 20.000 20.000 Td /F1 10.0 Tf 0 Tr (Hello, Ruby.) Tj ET

and the result should be like

BT 20.000 20.000 Td /F1 10.0 Tf 0 Tr [(Hello)20(,)30(Ruby.)]TJ ET

Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,206
Messages
2,571,068
Members
47,674
Latest member
scazeho

Latest Threads

Top