172c172
< #define rufl_CACHE "<Wimp$ScrapDir>.RUfl_cache"
---
> #define rufl_CACHE "<NetSurf$RUflCache>"
30a31,33
> | Path to RUfl_Cache
> | Prevents the cache to be stored in <Wimp$Scrap>
> SetMacro NetSurf$RUflCache <Choices$Write>.WWW.NetSurf.RUfl_Cache
Hello,
currently !NetSurf stores its font cache in Wimp$Scrap.
When Wimp$Scrap is copied to a RAMDisc on boot this might lead to
problems, because naturally the content of Wimp$Scrap is not copied
back to disk when the system is shut down. Hence RUfl_Cache would be
recreated on every first start after boot.
IMHO a file that should be kept permanently should not be put in the
Scrap-folder.
We just discussed this issue during a RISC OS user meeting, and a
better approach seems to be to place RUfl_Cache in
<Choices$Write>.WWW.NetSurf.
Please find attached two patches that change the source accordingly.
netsurf-riscos-scripts-Run.patch adds a new Variable NetSurf$RUflCache
in ./netsurf/riscos/scripts/Run.
librufl-src-rufl_internal.patch adjusts rufl_CACHE in
./librufl/src/rufl_internal.h accordingly.
Opinions?
Cheers,
Christian Walther
No comments:
Post a Comment