Deri wrote:
> >   - If it contains data that may be deleted and is persisted only to
> >     provide a speedup, it should be $HOME/.cache/<program>/
> >     (or $XDG_CACHE_HOME/<program>/ if that environment variable is set [1]).
> 
> Hi Bruno,
> 
> I think this is the appropriate place, _Inline contains a .so containing the 
> C 
> routine which improves performance with large fonts. If it is deleted it is 
> recreated the next time gropdf is run. I will work out how to make it happen.

Thanks. I agree that the proper location is under $HOME/.cache/gropdf/ then.

You will probably also need to include the architecture (ABI) in the
file name, since the user may have the same $HOME directory in different
machines with different architectures (e.g. x86_64 and arm64, or even
x86_64 and x86).

Also, if different versions of groff produce shared libraries with different
APIs, you will need to include the groff version in the file name, because
the user may be running different groff versions at different times (or even
at the same time).

Bruno




Reply via email to