Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905372 - dev-texlive/texlive-fontsextra and texlive-xetex do not enable fonts per default (via symlinking conf to /etc/fonts/conf.d)
Summary: dev-texlive/texlive-fontsextra and texlive-xetex do not enable fonts per defa...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-30 10:47 UTC by Lorenzo Bertini
Modified: 2024-03-29 15:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Bertini 2023-04-30 10:47:29 UTC
The package correctly installs the fonts and creates the /etc/fonts/conf.avail/09-texlive.conf file. In order to have the fonts visible by the system however, for example to make Firefox able to read Latin Modern for MathML, an additional step is needed.
Following the page at https://developer.mozilla.org/en-US/docs/Web/MathML/Fonts I created a symlink with "ln -sf /etc/fonts/conf.avail/09-texlive.conf /etc/fonts/conf.d/" and updated the cache with "fc-cache -sf". Now the system can see those fonts.
I think Debian and Ubuntu do this by default, because I never had to do this in any of them. It's not a mandatory step, but I ask you to consider whether it needs to be default or not.
In any case, thank you in advance.

Reproducible: Always
Comment 1 Florian Schmaus gentoo-dev 2023-11-17 20:39:09 UTC
Right, we could enable the TeX Live fonts per default. Note that there is also 09-texlive.conf installed by texlive-xetex.