Op 22/03/2011 18:56, Sciss schreef: > hello, > > thanks for checking back! > > i need the AWT font because the rendering is all done as a JFreeChart chart. > This is a Java2D package, it doesn't know anything about PDF.
OK, I misunderstood. So you are creating a PDF with a BaseFont, and you want to use that same font in the Chart. > So I need to convert a PDF font to AWT to use it to configure JFreeChart. Yes, that's true. > As it seems this works for fonts which are regularly installed on OS X, but > not for the X11 or the TeXLive fonts. > > For example, I found the proper Times-Bold now that matches the font i'm > using in my Latex template: > > /usr/local/texlive/2010/texmf-dist/fonts/afm/adobe/times/ptmb8a.afm Hmm, I've succeeded in adding a ttf font to the appropriate directory so that I could create a java.awt.Font, but I don't have any experience doing this with a Type 1 font. I'm not sure if that is even possible. > My computer is now crunching numbers trying to build FontForge, i hope that > goes right, and i can convert the afm to a ttf that i can install in the > Finder which i hope makes it available to AWT, although it seems stupid to > embed a copy of a standard tex font. Thank you for clarifying. I hope you succeed. I think you will. It's a matter of putting the font in the right directory so that the JVM can see it. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
