On 2024-09-21 14:49, Ken Brown via Cygwin-apps wrote:
On 9/20/2024 11:43 PM, Brian Inglis via Cygwin-apps wrote:
On 2024-09-20 15:44, Brian Inglis via Cygwin-apps wrote:
Hi folks,

I recently reviewed all the fonts installed on my system and found that fontconfig cache does not include TeX OpenType or TrueType fonts installed under /usr/share/texmf-dist/fonts/{open,true}type/, non-'Microsoft Corp' Windows fonts including those labelled 'Microsoft supplied font', .TTF, .ttc, and .ot[cf], but does cache those in the Windows/Fonts/Deleted subdirectory.
For the fonts that come with TeX Live, I thought it should be up to the user whether or not to include those fonts in the fontconfig cache.  The admittedly very long release message for TeX Live says the following near the end:

"There is a script /usr/bin/texlive-enable-fontconfig that you can
run if you want the fonts distributed with TeX Live to be available
to applications that rely on fontconfig.  See /usr/share/doc/texlive/
README.Cygwin for more details."

I remember discussing this on the list at some point, and the consensus at the time was that this should not be done by default, but I don't remember the reason(s).  We could revisit this decision if enough people have strong feelings about it.  If so, I think the discussion should be on the main Cygwin list so that non-maintainers can weigh in.

Thanks Ken,

I missed that in the announcement and will use that from now on, as for me TeXlive etc. are mainly prereqs for package builds.

I come from a scary place where I was updating hourly stats and graphs and generating 100k+ fontconfig cache files taking many GB, so I preferred to blow away the cache directory and repopulate every setup run, and sometimes between runs when a cron job detected insanity was happening.
That era now appears to be in the past with fontconfig cache fixes. X-fingers!

I also frequently poke around font files looking for glyphs, ranges, etc.
So I like having all available fonts in my cache.

Is there any consensus on how this should be managed?

I would think Unix systems would want all installed fonts cached.

I would also think all Cygwin users would probably like to be able to use all their Windows fonts, not just 'MS Corp' copyright .ttf and optionally TeX, in their Cygwin packages?

I agree it may be a good question to ask on the main list.
If few care enough to respond, the status quo stands!

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                -- Antoine de Saint-Exupéry

Reply via email to