Re: Problem with creation of font cache on Windows 7 64 bit
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 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 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\\.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 >>> >>> >>> >> >> >
RE: Problem with creation of font cache on Windows 7 64 bit
Thank you Adrian! Also I've noticed you can redirect the font-cache with the Java system property -Duser.home, so one can direct it to a different place by editing the JAVAOPTS set in fop.bat. Best Regards, Jonathan Levinson From: Adrian Cumiskey [mailto:adrian.cumis...@gmail.com] Sent: Sunday, August 15, 2010 12:28 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Problem with creation of font cache on Windows 7 64 bit 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 mailto: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 mailto: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 mailto:jonathan.levin...@intersystems.com>> wrote: On Windows XP, fop creates it font-cache in "C:\Documents and Settings\\.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
Re: RE: Problem with creation of font cache on Windows 7 64 bit
Hi Jonathan, Well spotted, yes that should work well also. Although its a bit of a sneaky "back door" way of achieving it : -). Cheers, Adrian. On 2010-08-16 1:23 AM, "Jonathan Levinson" < jonathan.levin...@intersystems.com> wrote: Thank you Adrian! Also I’ve noticed you can redirect the font-cache with the Java system property –Duser.home, so one can direct it to a different place by editing the JAVAOPTS set in fop.bat. Best Regards, Jonathan Levinson *From:* Adrian Cumiskey [mailto:adrian.cumis...@gmail.com] *Sent:* Sunday, August 15, 2010 12:28 PM *To:* fop-users@xmlgraphics.apache.org *Subject:* Re: Problem with creation of font cache on Windows 7 64 bit Hi Jonathan, I have just committed a fix to the missing "cache-file" configuration option (...