Menu

#1 Text in pdf

open
nobody
None
5
2003-11-04
2003-11-04
Thomas
No

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

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.