Text in pdf
Status: Beta
Brought to you by:
petermount
Hi,
I have a Problem.
I try to generate a PDF with simple Text (low level
generation),
but I don't know, who to set the Font.
I get always the Error in the Acrobat Reader: The Font
is not defined.
ge.setTextMode(1);
ge.startText();
ge.writeText("test");
ge.endText();
This code didnt' work too:
ge.setTextMode(1);
ge.font("Serif",12);
ge.startText();
ge.writeText("test");
ge.endText();
Thank you
Thomas