Description of problem: I've been messing around trying to get LibreOffice to see some fonts I have, which are not packaged for Fedora, and getting absolutely nowhere. I've tried installing them in ~/.fonts, /usr/local/share/fonts, /usr/share/fonts, and nothing seems to work. I've run fc-cache, and fc-list sees the font. If I run Inkscape, the font shows up in the dropdown there. So I'm pretty sure the font is correctly installed. Obviously, without the ability to install the correct font, it's impossible to open some documents correctly because the metrics are incompatible and the document reflows incorrectly. Version-Release number of selected component (if applicable): libreoffice-core-3.3.3.1-1.fc15.x86_64
Are they outline fonts, attach the output of fc-list -v and mention the name of one of the fonts that isn't being shown in LibreOffice which is being shown in e.g. Inkscape.
I dumped PALSCRI.TTF in .fonts, fc-list shows an extra "Palace Script MT", and launched LibreOffice and "Palace Script MT" was available.
Same problem here. Fedora 15. kernel 2.6.38.8-35.fc15.i686 LibreOffice version: 3.3.3.1-2.fc15 Installed additional fonts with Fontmatrix. LibreOffice fails to recognize added fonts. Installed Abiword - same result. IMO the problem is related to kernel version. I didn't have problem with previous kernels. Unfortunately, yesterday, I deleted previous kernels and can not test my guess...
so, two reports that newly added fonts don't appear in applications. But they *are* appearing in fc-list, right ? Do they appear or not appear in e.g. gedit ?
Created attachment 513769 [details] Verbose output of my font list.
Right, I think I understand this now. I've attached the output of "fc-list -v". The missing fonts are generally of the "ITC Avant Garde" family. However, when I was looking through the output, I noticed that my font files were missing file extensions. I've no idea why/how, but I was going through Nautilus to install these, so if they came up as ttf files I probably wouldn't have noticed. I tried renaming one of the fonts - the Book face - to give it the extension, re-ran fc-cache, and lo it now appears in LibreOffice. So, it seems like for some reason the font is being ignored if LibreOffice doesn't like the file name for some reason? I'm assuming it's an app problem because Inkscape seems to be quite happy with them.
aha!, excellent catch. Indeed, it needs to see the suffix to do the right thing. We should simply fix this for the case where we get the font from fontconfig which tells us what format it is.
will try and take the fontconfig format when known, fall back to the old suffix detection otherwise. will be >= 3.3.3.1-3
libreoffice-3.3.3.1-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/libreoffice-3.3.3.1-3.fc15
Package libreoffice-3.3.3.1-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libreoffice-3.3.3.1-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/libreoffice-3.3.3.1-3.fc15 then log in and leave karma (feedback).
libreoffice-3.3.3.1-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.