You are not logged in.

#1 2013-06-23 07:44:59

ernetas
Member
Registered: 2011-03-13
Posts: 79

LibreOffice no text using TTF fonts: menus, documents, etc.

Even though I did not upgrade ttf-ms-win8 package, it was working perfectly fine up until one day. Now I see:
https://imageshack.com/a/img694/9168/4xh.png

There is no text in menus, nor in the document (if Microsoft's TTF fonts are used, otherwise I can see text in fonts like OpenSans).

All other apps (GTK and QT) are fine. I tried creating a new user and running LibreOffice, but that didn't help, so the problem is not in my personal configuration.

Here are last 400 lines from pacman log:
http://pastebin.com/HZJHvLzL

What could be the issue?

P. S. I was using fontconfig-ubuntu and cairo-ubuntu when this issue occured, hence I tried out fontconfig and cairo, but that did not help.

Last edited by ernetas (2013-06-23 07:58:39)

Offline

#2 2013-06-23 08:42:12

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

I have no solution, but I just want to let you know you are not the only one.  What I ended up doing was just removing the windows 8 fonts and then changed to free fonts instead.  I actually think things look a bit better.   I know that is not a solution, but its all I've got.

Offline

#3 2013-06-24 08:19:07

ernetas
Member
Registered: 2011-03-13
Posts: 79

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

Made a bug report. If you might be interested/want to vote/watch:
https://bugs.archlinux.org/task/35910

Offline

#4 2013-06-24 13:35:01

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

I will repeat it again because it seems hardly anyone is looking for working solutions: it is enough to disable Segoe UI font family and the problem with LO menus disappears.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2013-06-24 13:39:26

ernetas
Member
Registered: 2011-03-13
Posts: 79

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

bohoomil wrote:

I will repeat it again because it seems hardly anyone is looking for working solutions: it is enough to disable Segoe UI font family and the problem with LO menus disappears.

How can I do it?

Offline

#6 2013-06-24 13:43:09

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

That's easy: locate Segoe UI font in /usr/share/fonts/TTF and move it elsewhere so that fontconfig can't use it. (The other method would involve creating a mask in a fontconfig file: moving the files temporarily to a different location is simpler.) You may have several Segoe UI variants (bold, bold italic, etc) so move the entire family. Restart OpenOffice and check if it works as expected.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#7 2013-06-24 13:47:55

ernetas
Member
Registered: 2011-03-13
Posts: 79

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

Thanks. I thought it's some kind of font rendering feature, not a font.

Anyways, that is still a very temporary fix. Once I'll get an update for ttf-ms-win8, this will break.
Also, now LibreOffice started hanging for a few seconds every time I switch or start using a font from ttf-ms-win8. Any ideas what could be the cause?

Offline

#8 2013-06-24 13:53:53

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

Of course it's not a fix par excellence, but at least you don't need to modify your font layout while waiting for a proper solution. What can make this happen? I have no idea, unfortunately. The issue seems mega tricky to me since it doesn't seem to affect non-MS TrueType families.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#9 2013-06-24 15:24:42

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

I actually installed the google webfonts package (the git one), and I really actually like my fonts quite a bit more since installation... I was very interested in trying your fix, but it would seem that I don't actually need to do this, as I don't think I am going to reinstall the ttf-ms-win8 package.

But as always, thanks for the valuable insight bohoomil.

Offline

#10 2013-06-24 15:49:32

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

WonderWoofy wrote:

I don't think I am going to reinstall the ttf-ms-win8 package.

Makes sense to me: I believe you're going to enjoy the new Adobe/infinality driven bundle that made me think the same for a while. smile


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#11 2013-06-24 16:18:04

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

I have a similar issue, and I don't have a Segoe UI font. Seems like it might be related though.

All the best,

-HG

Offline

#12 2013-06-24 17:09:55

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

I'm not sure, to be honest… This is more likely an issue with the GPU driver, compositing stuff, etc. Did you try doing what ConnorBehan advised? Did your try disabling hardware acceleration in LibreOffice? This is actually the first option I turn off when similar issues occur.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#13 2013-06-24 17:15:24

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

bohoomil wrote:

I'm not sure, to be honest… This is more likely an issue with the GPU driver, compositing stuff, etc. Did you try doing what ConnorBehan advised? Did your try disabling hardware acceleration in LibreOffice? This is actually the first option I turn off when similar issues occur.

I was under the impression that that setting only applied to LO-impress, is that not the case? And, if it does apply more globally, is there a command-line flag to disable it? I just disabled it; it had no affect. Having said that, as I mention in the thread I linked to, I agree with you that this is likely a driver issue, so it likely isn't the same issue as this thread. Thank you for the suggestions though.

All the best,

-HG

Last edited by HalosGhost (2013-06-24 17:18:15)

Offline

#14 2013-07-10 11:25:45

fadishei
Member
Registered: 2013-07-10
Posts: 1

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

Hi

I had the same problem and it was solved by installing the libreoffice-gnome package.

Regards,
Fadishei

Offline

#15 2013-07-10 11:59:53

jones
Member
Registered: 2013-03-14
Posts: 276

Re: LibreOffice no text using TTF fonts: menus, documents, etc.

In march I had the same issue with soem font files I copied over from my C:\Windows\Fonts folder on Windows 7. I solved it with

sudo chmod -R 755 /usr/share/font/truetype/

(or was it .../truetype/*, can't recall that detail, also don't know that much about Linux)
In hindsight, I should have done that specifically to the font files which I copied over from Windows 7. hmm

Offline

Board footer

Powered by FluxBB