--- Begin Message ---
Subject: |
building fonts: fontcache must be updated regulary |
Date: |
Thu, 11 May 2017 08:36:58 +0000 |
The problem: Right now after just installing fonts, they do
not become available. This can lead to some applications
appearing "broken", etc. Other operating systems solve this
by having a post-install hook which roughly does just this.
A possible solution:
Our fictional, not yet existing, font-build-system should
run "fc-cache --force --really-force", or we should have
a service which does the same for the fonts installed in
the user profile.
At this point a font-build-system would be good anyway,
as the number of fonts keeps growing, and most fonts are
using similar patterns to be installed.
--
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#26877: building fonts: fontcache must be updated regulary |
Date: |
Fri, 11 Aug 2023 10:47:17 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hello,
宋文武 <iyzsong@envs.net> writes:
[...]
> Hello, I think we can close this now, since this commit:
>
> commit 6f12880a76a6c91058718d15845f8b9d9b529a5a
> Author: Sarah Morgensen <iskarian <at> mgsn.dev>
> Date: Fri Jun 18 17:52:05 2021 -0700
>
> gnu: fontconfig: Use (locally) deterministic caching
>
> Make fontconfig use directory contents rather than modification time to
> determine cache validity (by pretending that mtime is broken).
>
> There is no need to run 'fc-cache' manually, and applications just need
> close/restart to use newly install fonts (also manual run here doesn't
> remove the need of restart).
Excellent, I had forgotten about that commit. Thanks to Sarah for
fixing the issue!
Closing.
--
Thanks,
Maxim
--- End Message ---