FS#35892 - [libreoffice-common] Text in Calibri font not displaying in LibO 4.0.4
Attached to Project:
Arch Linux
Opened by Kenneth Chin (kenchin) - Saturday, 22 June 2013, 16:49 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 01 September 2013, 09:29 GMT
Opened by Kenneth Chin (kenchin) - Saturday, 22 June 2013, 16:49 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 01 September 2013, 09:29 GMT
|
Details
Description:
I have recently opened a document in LibreOffice Calc and noticed that the document is text-less, but the highlights, borders and images are present. However, I can see the text content at the editbar above when I click on the cells. All the text is in Calibri font. When I change the font to something else, the text content appears correctly. I then tested Calibri font in LibreOffice Writer and the outcome is the same: Calibri text content does not appear at all. I did a further test on other app like KWrite, however Calibri font can be displayed correctly. Tried disabling embedded bitmap in fontconfig also made no difference. 64-bit system with the following packages installed: * KDE 4.10.4 * LibreOffice 4.0.4 * freetype2-infinality * ttf-ms-win8 Steps to reproduce: * pacman -Syu to update to the latest libreoffice 4.0.4. * Open a text document or spreadsheet. * Type something and select the text or cell. * Change the font to Calibri and the text will disappear, however the text is still present. * If you the font is changed to some other fonts, like Cambria or Times New Roman etc, the selected text will appear again. Refer to forum topic for more info: * https://bbs.archlinux.org/viewtopic.php?id=165528 Additional info: * In previous versions of libreoffice, this was a non-issue. * Reverting to freetype2 also gives the same problem. * Only Calibri font is affected. Other Microsoft fonts are not affected. |
This task depends upon
I have also tested with libreoffice-rpm 4.0.4-2 from aur, and it seems to work fine. At least, I can see all of the calibri text.
http://imageshack.com/scaled/large/694/4xh.png
I am using ttf-ms-win8. For me, downgrading libreoffice-common solves the problem.
LibreOffice has changed the font handling for some reason. If you think something is broken ask upstream and file a bug there!
But if I run the upstream official packages everything works just fine. So upstream will surrely not consider it a bug.
How do I know that the official LibreOffice 4.0.4 works?
- downloaded from libreoffice website the official rpm tar gz
- extracted the tgz
- went into RPMS directory and run: for file in *.rpm; do rpmextract.sh $file; done
- went into opt/libreoffice4.0 and run program/soffice
Opened the same document and surprise, now I see the Calibri letters (Calibri font had to be installed, of course).
Now, quickly, run /usr/bin/soffice, (the Arch built LibreOffice) open the same document and see.... nothing.
So, to resume: the official build works, the Arch build does not.
Again, why is the Arch bug closed and suggested to report to LibreOffice?
Thanks and sorry for re-requesting to be re-open, but it puzzles me as I clearly see it as a Arch specific bug.
I can't make LibO fit for unknown AUR and custom packages. So make sure fontconfig, freetype and ttf-* packages are only from
our official repos.
Then please point me what to fix.
Is it possible that, when using the LibO package, some (font rendering?) library is statically linked or brought in with the package, and the version is different than the one used by Arch, thus causing this problem?
Maybe the other bug that I have reported:
https://bugs.archlinux.org/task/35995
is due to the same cause.
Only the Calibri is manually installed in my .fonts directory. Calibri font works (appear on screen) in gedit or anywhere I ask for it, (including official LibreOffice), but not on Arch built LibreOffice. Tricky...
I just stumbled on this bug report. I hadn't run into this myself, but I checked and I, too, have this problem.
- From Extra, running: libreoffice-common 4.0.4-2 (libreoffice)
- From AUR, running: ttf-vista-fonts 1-6
- HOSTTYPE="x86_64"
The Calibri font doesn't display in a newly created Text Document. I noticed something strange about setting the font to Calibri: When I chose Calibri from the pull-down menu, the text "Calibri" in the pull-down menu didn't appear in its own font, it was printed in a plain-type font. All the other fonts except for Cambria were displayed in their own font. Sure enough, when I tried Cambria as the font, text in a newly created Text Document didn't display, either.
Like others, I'm using fontconfig, freetype and ttf-* packages from official repos except for ttf-vista-fonts and ttf-ms-fonts from AUR. Calibri and Cambria are both provided by ttf-vista-fonts. HTH.
Clemmitt