Hi there,
For some of my work, I'm trying to create a bunch of diagrams and graphics of different kinds directly in PDF. I've written a little Python library to help me do this. The spec is very easy to read, kudos for that!
However, I can't figure out how to get text rotation to work. Right now, I'm just playing with a simple file. Basically, this works as intended:
BT
200 200 Td
/F1 12 Tf
(Blah) Tj
ET
while this shows nothing at all in the document
0.0 1.0 0.0 -1.0 0 0 cm
BT
200 200 Td
/F1 12 Tf
(Blah) Tj
ET
What am I doing wrong? This seems simple enough that I should be able to get it right. I hope I'm not being stupid.
Cheers,
Dirkjan
For some of my work, I'm trying to create a bunch of diagrams and graphics of different kinds directly in PDF. I've written a little Python library to help me do this. The spec is very easy to read, kudos for that!
However, I can't figure out how to get text rotation to work. Right now, I'm just playing with a simple file. Basically, this works as intended:
BT
200 200 Td
/F1 12 Tf
(Blah) Tj
ET
while this shows nothing at all in the document
0.0 1.0 0.0 -1.0 0 0 cm
BT
200 200 Td
/F1 12 Tf
(Blah) Tj
ET
What am I doing wrong? This seems simple enough that I should be able to get it right. I hope I'm not being stupid.
Cheers,
Dirkjan