Hi Jonathan, I have just committed a fix to the missing "cache-file" configuration option (see http://xmlgraphics.apache.org/fop/1.0/configuration.html#general-elements) to the Fop trunk code. All the documentation regarding font caching should now reflect the actual implementation.
I also added a convenience "-delete-cache" option to the Fop command line as quite a few users have previously asked how to delete/clear this file (when not knowing its location on the filesystem). Hope this helps, Adrian. On 14 August 2010 20:38, Adrian Cumiskey <adrian.cumis...@gmail.com> wrote: > Sorry Jonathan, I've just looked into the matter and realised that what I > told you was incorrect (partially at least). > > If you take a look at > http://xmlgraphics.apache.org/fop/1.0/configuration.html#general-elements > you'll > see that there is a "cache-file" option that you can provide to tell Fop > where you would like your font cache file to be created. Unfortunately this > documentation does not reflect the current state of the system. At some > stage during further development of the font caching mechanism, this setting > was lost as a configuration setting and instead Fop tries to always store > the font cache file in the user's home directory. > > I will work this weekend on reinstating this feature and integrate it into > the current font caching system. > > Cheers, Adrian. > > On 14 August 2010 09:09, Adrian Cumiskey <adrian.cumis...@gmail.com>wrote: > >> Hi Jonathan, >> >> The font caching was written prior to the Windows 7 release so it was >> never tested at the time. There is currently no way of telling Fop where to >> put its font cache but it shouldn't be too much effort to add this feature. >> I'll look at adding support for this. >> >> Adrian. >> >> >> On 14 August 2010 05:38, Jonathan Levinson < >> jonathan.levin...@intersystems.com> wrote: >> >>> On Windows XP, fop creates it font-cache in “C:\Documents and >>> Settings\<username>\.fop”. >>> >>> >>> >>> I’ve had a couple of reports that on Windows 7 64 bit, fop puts its font >>> cache in c:\.fop, a directory to which the user may not have write >>> permissions. >>> >>> >>> >>> Is this a known issue? >>> >>> >>> >>> Is there a way of telling fop where to put the font cache? >>> >>> >>> >>> Best Regards, >>> >>> Jonathan Levinson >>> >>> >>> >> >> >