hi,everyone!

I'm newbee and using the pdfbox to create the pdf document recently.
I can see the way to change the font size below:


---
...
PDType0Font font = PDType0Font.load(document, new File(dir + "sample.ttf"));
stream.setFont(font, 12);
...
--


is there a way for change the font color or font style(italy,bold,etc.) ?


Thanks in advance!

Reply via email to