As Chris already noted, there's currently no such simple method to do this. But I have some code locally that does something similar (generating a PDF with all the configured fonts). But I have to clean up the code before I can publish it. I hope I have time for this during the weekend.
On 15.03.2009 14:12:50 Bernmeister wrote: > > Hi, > > From the FOP documentation, I know there are the Base-14 Fonts which are > available for PDF output. Is there a way in Java to get this list of fonts > (font-family, font-weight & font-style)? I've scoured through the FOP > Javadoc but can't seem to locate any method such as 'String[] > getAvailableFontNames()'. > > I want to have a print options dialog in my application and would like it to > dynamically show available fonts from FOP rather than hard-coding a list. > > > Thanks in advance, > > Bernmeister. > -- > View this message in context: > http://www.nabble.com/FOP-Default-Fonts-tp22523069p22523069.html > Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
