Hi Phillip,
I have written a desktop application which, on start up, refreshes a cache of
fonts (using FOP code) and subsequently allows the user to refresh that cache
by hitting a button (again, calls the same FOP code).
See attached.
When the application starts up I call FOPManager.refreshFont
Hi Bernard
Thanks for that code - that's really helpful.
However, from what I can tell (java isn't one of my main languages, I'm a
Python dev) it seems as though it doesn't actually tell FOP to reload any
fonts, but rather gathers a list of fonts and then asks `PropertiesManager`
to set the font
:
xslParams.put( "font-family", (String)m_fontName.getSelectedItem() );
where m_fontName is the selected font name in the JComboBox shown to the user.
Cheers,
Bernard.
> Date: Wed, 13 Jun 2012 06:41:58 -0700
> From: phillip.old...@gmail.com
> To: fop-users@xmlgraphics.apache.org
&
font name in the JComboBox shown to the
> user.
>
> Cheers,
> Bernard.
>
>> Date: Wed, 13 Jun 2012 06:41:58 -0700
>> From: phillip.old...@gmail.com
>> To: fop-users@xmlgraphics.apache.org
>> Subject: RE: Still having trouble loading fonts at runtime - sugg
never had to do this myself.
Cheers,
Bernard.
> Date: Wed, 13 Jun 2012 07:20:46 -0700
> From: phillip.old...@gmail.com
> To: fop-users@xmlgraphics.apache.org
> Subject: RE: Still having trouble loading fonts at runtime - suggestions?
>
>
> Hi Bernard
>
> Thanks for