Hello community,

I need to get the PDFont instance that corresponds to a given
java.awt.Font instance including fontName, fontFamiliy, bold, italic
etc. Unfortunately, I could not find any way how to acceive this goal
with pdfbox. I have tried the following but stopped at the Dictionary
parameter because I do not know such construct:

def fac= new PDFontFactory()

fac.createFont(dic)


Could you help with this "transformation"?

Thanks,
Christian

-- 
M.Sc. Christian Wulf
Research Assistant

Software Engineering Group
Dept. Computer Science
Christian-Albrechts-Platz 4
University of Kiel
24118 Kiel, Germany

Room:  1213
Phone: +49 431 880 2776
Fax:   +49 431 880 7617
Email: [email protected]
WWW:   http://se.informatik.uni-kiel.de/

Reply via email to