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.

I run the attached permanent postinstall local script to pick up all those fonts the official script does not, clean up old broken links, link the font files into /usr/share/fonts/windows/ and /usr/share/fonts/{open,true}type/texmf-dist/ as appropriate, then mkfontscale fonts.scale and mkfontdir fonts.dir in each.

Please consider changing the official current stable permanent postinstall script to include these font installation directories, plus any others that maintainers may be aware of outside /usr/share/fonts/.

These would include fonts in Octave, Python, Ruby package directories: not all in /usr/share/fonts/ or my texmf-dist links, and those are may be duplicated
>>> typo                               and those that are duplicated may be
from actual font packages, so would the best approach for these require the font packages, provide a standard location font subpackage linked to the package directory, or suggestions?

/usr/lib/python2.7/site-packages/reportlab/fonts/
/usr/lib/python2.7/site-packages/sphinx_rtd_theme/static/fonts/
/usr/lib/python2.7/site-packages/sphinx_rtd_theme/static/fonts/Lato/
/usr/lib/python2.7/site-packages/sphinx_rtd_theme/static/fonts/RobotoSlab/
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/Lato/
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/RobotoSlab/
/usr/lib/python3.7/site-packages/sphinx_rtd_theme/static/fonts/
/usr/lib/python3.7/site-packages/sphinx_rtd_theme/static/fonts/Lato/
/usr/lib/python3.7/site-packages/sphinx_rtd_theme/static/fonts/RobotoSlab/
/usr/lib/python3.8/site-packages/sphinx_rtd_theme/static/fonts/
/usr/lib/python3.8/site-packages/sphinx_rtd_theme/static/fonts/Lato/
/usr/lib/python3.8/site-packages/sphinx_rtd_theme/static/fonts/RobotoSlab/
/usr/lib/python3.9/site-packages/matplotlib/mpl-data/fonts/ttf/
/usr/lib/python3.9/site-packages/reportlab/fonts/
/usr/lib/python3.9/site-packages/sphinx_rtd_theme/static/fonts/
/usr/lib/python3.9/site-packages/sphinx_rtd_theme/static/fonts/Lato/
/usr/lib/python3.9/site-packages/sphinx_rtd_theme/static/fonts/RobotoSlab/
/usr/share/gems/doc/activesupport-5.1.6/rdoc/fonts/
/usr/share/gems/doc/coffee-rails-4.2.2/rdoc/fonts/
/usr/share/gems/doc/coffee-script-2.4.1/rdoc/fonts/
/usr/share/gems/doc/coffee-script-source-1.10.0/rdoc/fonts/
/usr/share/gems/doc/erubis-2.7.0/rdoc/fonts/
/usr/share/gems/doc/execjs-2.5.2/rdoc/fonts/
/usr/share/gems/doc/sass-3.5.6/rdoc/fonts/
/usr/share/gems/doc/uglifier-3.1.13/rdoc/fonts/
/usr/share/gems/gems/rdoc-6.7.0/lib/rdoc/generator/template/darkfish/fonts/
/usr/share/octave/8.4.0/fonts/

--
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