You are not logged in.

#1 2013-06-21 03:30:53

kenchin
Member
Registered: 2013-02-12
Posts: 8

Text in Calibri font not displaying in LibreOffice 4

Hi,

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.

I performed a full system update and also tried switching between freetype2 and freetype2-infinality and the result is the same: LibreOffice 4 cannot display Calibri text content. Appreciate if someone can help me with this issue. Thanks.

My system (64-bit) has the following:
- KDE 4.10.4
- LibreOffice 4.0.4
- freetype2-infinality
- ttf-ms-win8

Note: The Calibri font is obtained directly from my other Win8 installation. The issue affects all Calibri fonts, i.e. Light, Italics, Bold, etc.

Offline

#2 2013-06-21 07:06:36

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Text in Calibri font not displaying in LibreOffice 4

I do not have problems here (but I use the official build of libreoffice, I do not know if that makes a difference). How have you installed the calibri font? Put the TTF files in ~/.fonts ( or ~/.local/share/fonts) (you should put all calibri fonts: calibri.ttf  calibrib.ttf  calibrii.ttf  calibril.ttf  calibrili.ttf  calibriz.ttf ); run fc-cache -vf and restart libreoffice (better log out and relogin) and see if the problem persists.

Updated: I see that you have ttf-ms-win8. This is an non official package that I have not tested. I have just quickly look at the contents of the source of this package and it seems that this package fails to run the fc-cache command. You could try to do it manually. Anyway, try to install the fonts manually if the problem persists (see above).

Last edited by olive (2013-06-21 07:12:43)

Offline

#3 2013-06-21 09:52:30

gleira
Member
From: Madrid, Spain
Registered: 2007-06-25
Posts: 5
Website

Re: Text in Calibri font not displaying in LibreOffice 4

I'm having the same problem. It seems to happen only with the calibri font (not sure). I'm using gnome. I was using ttf-vista-fonts from aur. I have tried ttf-win7-fonts, and also copying the fonts to /usr/share/fonts, to ~/.fonts, run fc-cache...

I have tried to use the fonts from XP and win7 installations. It looks like an strange bug in Libreoffice.

Right now, I have downgraded to libreoffice 4.0.3, and marked as IgnorePkg in pacman.conf.

I have found that the Asap font looks very similar to calibri, but only in normal typeface. Bold and italic look quite worse.

Offline

#4 2013-06-21 21:05:54

forumache
Member
From: Netherlands
Registered: 2011-09-02
Posts: 55

Re: Text in Calibri font not displaying in LibreOffice 4

Another confirmation of the bug.

I had a document at work open in 4.0.3. I didn't care about the font, as I had Windows fonts installed (in .fonts).
Later, I run (it's kind of obsession) pacman -Syu and saw libreoffice 4.0.4

Closed the document and so LibreOffice, upgraded, reopened the document and... empty.

Then I noticed that I can select invisible text. Changing font (from Calibri) to something else made the text appear.

On the same machine, same document, nothing changed except libreoffice from 4.0.3 to 4.0.4.

Offline

#5 2013-06-22 07:28:01

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Text in Calibri font not displaying in LibreOffice 4

I confirm this bug with the archlinux packages of libreoffice 4.0.4. However the official build works fine. So this is not an upstream bug and deserves a bug report. By the way, I have since a long time small problems with the archlinux package of libreoffice. Another problem is that the printeradmin utility had never worked.

Offline

#6 2013-06-22 08:02:18

torors
Member
Registered: 2012-09-28
Posts: 106

Re: Text in Calibri font not displaying in LibreOffice 4

Same bug. Openbox as WM.

Last edited by torors (2013-06-22 08:07:37)

Offline

#7 2013-06-22 09:01:12

mariusmeyer
Member
From: Norway
Registered: 2009-04-25
Posts: 244

Re: Text in Calibri font not displaying in LibreOffice 4

Instead of posting "me too" on this forum thread, which will likely not be read by anyone in a position to fix this issue, you should probably file a bug report and upvote the bug instead smile

Offline

#8 2013-06-22 16:51:12

kenchin
Member
Registered: 2013-02-12
Posts: 8

Re: Text in Calibri font not displaying in LibreOffice 4

Bug report FS#35892 created as suggested by marisumeyer: https://bugs.archlinux.org/task/35892

Offline

#9 2013-06-27 10:26:07

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Text in Calibri font not displaying in LibreOffice 4

Quick fix for people affected by this bug is to downgrade LibreOffice from 4.0.4 to 4.0.3. I also noticed lots of X CPU usage with the new version, so for now 4.0.3 seems to be more stable and less buggy.

pacman -U /var/cache/pacman/pkg/libreoffice-*-4.0.3-3-x86_64.pkg.tar.xz

Offline

#10 2013-06-27 23:34:26

kuba_66
Member
Registered: 2012-12-07
Posts: 28

Re: Text in Calibri font not displaying in LibreOffice 4

The same happens with cambria
It also freezes the whole system for a while.
Libreoffice is of special importance to desktop users.
It must work smoothly.
I have donated 10 bucks through Click&Pledge towards this end.

Offline

#11 2013-06-28 10:04:51

doragasu
Member
Registered: 2012-03-03
Posts: 152

Re: Text in Calibri font not displaying in LibreOffice 4

I'm also suffering this bug sad. I installed the problematic fonts using ttf-win7-fonts PKGBUILD.

The bug report has been closed, I think it should be reopened (I have voted for it). Googling, I have only found people with Arch suffering this problem, so maybe it is only Arch related...

Offline

#12 2013-06-28 13:02:32

mariusmeyer
Member
From: Norway
Registered: 2009-04-25
Posts: 244

Re: Text in Calibri font not displaying in LibreOffice 4

doragasu wrote:

Googling, I have only found people with Arch suffering this problem, so maybe it is only Arch related...

It is possible, but unlikely. Most other distros use an older version of LibreOffice, hence the lack of bug reports. It is more likely that it is a LibO bug, and as mentioned on the Arch bug tracker, you should look into filing it with the LibO devs smile

Offline

#13 2013-07-02 15:13:19

forumache
Member
From: Netherlands
Registered: 2011-09-02
Posts: 55

Re: Text in Calibri font not displaying in LibreOffice 4

mariusmeyer wrote:
doragasu wrote:

Googling, I have only found people with Arch suffering this problem, so maybe it is only Arch related...

It is possible, but unlikely. Most other distros use an older version of LibreOffice, hence the lack of bug reports. It is more likely that it is a LibO bug, and as mentioned on the Arch bug tracker, you should look into filing it with the LibO devs smile

There are coments in this topic which say that with the official build it works. I had to try for myself. So:

- downloaded from libreoffice website the rpm tar gz
- extracted the tgz
- went into RPMS directory and run: for file in *.rpm; do rpmextract.sh $file; done
- whent 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, 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?

Does not compute... Should I include pictures?

Offline

#14 2013-07-02 16:19:46

mariusmeyer
Member
From: Norway
Registered: 2009-04-25
Posts: 244

Re: Text in Calibri font not displaying in LibreOffice 4

As you have stated in the request to reopen, it does work with the rpm from the website, so either the developers are waiting for the next LibO update to fix it, or they havn't had the time to reopen the bug. But I don't think that images are necessary.

Offline

#15 2013-07-04 10:39:57

kenchin
Member
Registered: 2013-02-12
Posts: 8

Re: Text in Calibri font not displaying in LibreOffice 4

I also noticed that in LibreOffice 4.0.4, the some headers in the Options - LibreOffice - Fonts page are not showing.

When I tried downgraded to LibreOffice 4.0.3, the headers is visible again. Note that I also have to downgrade ICU to 51.1-2 for LibreOffice 4.0.3 to work.

There's an old post (https://bbs.archlinux.org/viewtopic.php?pid=1277811) on LibreOffice 4 crashes during startup that is caused by ICU, since ICU is an external library for LibreOffice, not sure if this is the same issue here.

Offline

#16 2013-07-05 07:28:30

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Text in Calibri font not displaying in LibreOffice 4

Maybe recompiling ICU can solve this "bug". In the past there was a bug when right clicking on a cell in Calc would crash the spreadsheet. Recompiling ICU fixed it back then, maybe something similar is causing the current behaviour

Offline

#17 2013-07-05 12:59:40

MickeyRat
Member
Registered: 2011-11-15
Posts: 128

Re: Text in Calibri font not displaying in LibreOffice 4

Same problem here.  I really need to use that spreadsheet so I uninstalled the ms fonts.  I may downgrade and reinstall now.


Some cause happiness wherever they go; others whenever they go.
- Oscar Wilde

Offline

#18 2013-07-05 14:50:01

figue
Member
Registered: 2007-12-16
Posts: 59

Re: Text in Calibri font not displaying in LibreOffice 4

Downgrading libreoffice-common works. Thanks for the workaround!
(http://arm.konnichi.com/2013/06/15/extr … pkg.tar.xz)

Offline

#19 2013-07-06 09:54:33

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Text in Calibri font not displaying in LibreOffice 4

All the 4.0.3 libreoffice packages download:

https://www.file1.info/album/AjSUPKC

Offline

#20 2013-07-09 20:10:40

nullspoon
Member
Registered: 2013-06-18
Posts: 10
Website

Re: Text in Calibri font not displaying in LibreOffice 4

I managed to fix mine without reverting to an older version of LibreOffice. I'm tried this with LibreOffice 4.0.4.2 (latest arch version) using Writer and Calc.

A ways back I copied my fonts off of my work Windows 7 system to my ~/.fonts directory. It turns out that those were what was causing my trouble. I tried extracting the fonts from the PowerPoint Viewer installer. I removed all Windows 7 copies of Calibri and Cambria in /usr/share/fonts and ~/.fonts and coped the them in from the ppv installer to my ~/.fonts directory. After that, I bounced Libre and lo and behold Calibri worked.

It's a wild guess here but it looks like there might be a difference between the Calibri and Cambria distributed with Windows 7/8 and the ones distributed with Office. I ran a diff of the Windows 7 calibri.ttf and the Office CALIBRI.TTF and it showed that they differ. Granted, I'm sure Microsoft does release updates for these things. Another wild guess here... perhaps it has something to do with the fact that Office is distributed on Mac and Windows systems?

Still no idea why the Windows version breaks LibreOffice.

Offline

#21 2013-07-09 20:45:25

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Text in Calibri font not displaying in LibreOffice 4

nullspoon wrote:

I ran a diff

More useful:

fc-query calibri.ttf | grep version

Offline

#22 2013-07-09 21:32:19

nullspoon
Member
Registered: 2013-06-18
Posts: 10
Website

Re: Text in Calibri font not displaying in LibreOffice 4

Wow. I had no idea that command existed. How cool is that?

# PowerPoint Viewer Version
fc-query ./fonts/calibri.ttf  | grep version
        fontversion: 368312(i)(s)

# Windows 7 Version
fc-query ~/.fonts/CALIBRI.TTF | grep version
        fontversion: 66847(i)(s) 

Yep - very different.

Offline

#23 2013-07-10 02:47:26

leonardof
Member
Registered: 2008-09-05
Posts: 66

Re: Text in Calibri font not displaying in LibreOffice 4

Unistalling font packages from AUR and installing manually (copying from a Windows drive to ~/.local/share/fonts and running fc-cache -vf) didn't work for me. LibreOffice Writer 4.0.4-1 has the same issues with MS fonts installed that way. Downgrading again to 4.0.3-3 fixed the issue again.

Offline

#24 2013-07-30 00:05:46

chetwisniewski
Member
Registered: 2012-03-04
Posts: 30

Re: Text in Calibri font not displaying in LibreOffice 4

I tried to use the powerpoint viewer fonts in the ttf-win7-fonts package, but do dice. Afterwards I downgraded libreoffice-common to 4.0.3 and it works again...

Chester

Offline

#25 2013-07-30 05:05:15

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Text in Calibri font not displaying in LibreOffice 4

If nobody does further investigation about the upstream changes in 4.0.0.4 and looks for/reports an upstream bug it won't get fixed anytime soon.

Offline

Board footer

Powered by FluxBB