Getting a list of font names without the memory hit...

2013-07-30 Thread Bernard Giannetti
Hi, I'm making a call to org.apache.fop.tools.fontlist.FontListGenerator.listFonts( ... ) to get a list of font names for my desktop application. To get the font names, I take the keys from the returned fontFamilies SortedMap; the actual data is junked. I hadn't realised just how much memory

Getting a list of font names without the memory hit...‏

2013-07-30 Thread Bernard Giannetti
(apologies for the double post...somehow my email got tagged to the end of an unrelated post) Hi, I'm making a call to org.apache.fop.tools.fontlist.FontListGenerator.listFonts( ... ) to get a list of font names for my desktop application. To get the font names, I take the keys from the

Re: Getting a list of font names without the memory hit...‏

2013-07-30 Thread Luis Bernardo
Are you using FOP in your Desktop app (meaning you feed and FO file and output one of the supported formats) or you just want to use some classes to get the list of fonts in your system? On 7/30/13 5:42 PM, Bernard Giannetti wrote: (apologies for the double post...somehow my email got tagged

RE: Getting a list of font names without the memory hit...‏

2013-07-30 Thread Bernard Giannetti
I'm using FOP inside my desktop app. I use FOP to combine .xml data files and .xsl template files into PDFs. I wanted to give the user the choice of font to use for the PDF text and so I am calling FOP code to get that list of fonts. Date: Tue, 30 Jul 2013 21:41:10 -0500 From: