pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Wulf <...@informatik.uni-kiel.de>
Subject java.awt.Font to PDFont
Date Thu, 21 Feb 2013 10:06:00 GMT
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: chw@informatik.uni-kiel.de
WWW:   http://se.informatik.uni-kiel.de/


Mime
View raw message