xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: FOP Default Fonts
Date Sun, 22 Mar 2009 11:58:58 GMT
I've just finished cleaning up the code and transformed it into an
easy-to-use command-line tool. I've also refactored it so you can easily
use the font list generation from your Java code (check out the
FontListGenerator class).

See here:
http://svn.apache.org/viewvc?rev=757172&view=rev

On 19.03.2009 11:35:52 Jeremias Maerki wrote:
> 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
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message