Bug#947064: texlive-fonts-extra: fourier-orns.sty broken, docs using the Fourier font no longer compile
Hi,
> ! I can't find file `FourierOrns'.
Indeed, looking into the fourier-orns.sty I see
\newfontfamily\FourierOrns{FourierOrns}
which means that the font is only searched via fontconfig and **not**
via kpathsea.
There are two ways to solve this:
Search the font via filename
----------------------------
You need to edit fourier-orns.sty (copy it to the current working
directory) and change the above line to read like
\newfontfamily\FourierOrns{FourierOrns-Regular.otf}[
BoldFont = FourierOrns-Bold.otf ,
ItalicFont = FourierOrns-Italic.otf ,
BoldItalicFont = FourierOrns-BoldItalic.otf ]
After that the files and thus the font will be found.
Make the fonts available to fontconfig
--------------------------------------
By adding an entry to
/etc/fonts/local.conf
for the respective directory, the fonts are made available to
fontconfig. It works with the following content:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>/usr/share/texlive/texmf-dist/fonts/opentype/public/fourier</dir>
</fontconfig>
followed by an `fc-cache -s` as root.
We don't activate all of the fonts automatically since this has broken
fontconfig several times, so we leave activation of fonts to the
discretion of the user/admin.
I will try to report upstream of fourier package that they should try to
locate the fonts via file name instead of font name.
Best
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Reply to: