On Wednesday, 2 September 2020 06.45.44 WEST Cor Blom wrote:
> I think I know why it does not work. The lyx fonts are installed in
> /usr/share/lyx/fonts and it looks to me this is kind of hardcoded,
> because "lyx -dbg font" only gives OK for me when the fonts are in that
> directory.
> 
> Fontconfig, however, does not look into that directory. So "fc-match -v
> "esint10: style=lyx" | grep file:" only give me the correct result when
> the lyx fonts are in /usr/share/fonts.
> 
> When I add /usr/share/lyx/fonts to the directories where fontconfig
> looks, then it all works as it should. I can solve this by adding a
> fontconfig configuration file to the package.
> 
> Does this sound right to you?
> 
> Regards,
> 
> Cor

I am taking my Fedora had here :-)

In Fedora we package the fonts in a separate subpackage (lyx-fonts) that are 
installed in /usr/share/fonts/lyx

There are also other packages that require this subpackage:
# dnf repoquery --whatrequires lyx-fonts
Last metadata expiration check: 0:28:20 ago on Wed 02 Sep 2020 09:40:06 AM 
WEST.
calligra-core-0:3.1.0-19.fc32.x86_64
gtkmathview-0:0.8.0-30.fc32.i686
gtkmathview-0:0.8.0-30.fc32.x86_64
lyx-0:2.3.4.2-1.fc32.x86_64
lyx-0:2.3.5.2-1.fc32.x86_64
lyx-0:2.3.5.2-2.fc32.x86_64

-- 
José Abílio


-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to