[FIXED] LibreOffice creates fontconfig folder in home

Everything about X, Gnome, KDE, ... and everything running on it

[FIXED] LibreOffice creates fontconfig folder in home

Postby rorschach » 2012-11-01 21:44

It's not the hidden .fontconfig folder that normally exists in home folders (that one does exist). But it does contain a .cache file just like the other folder.
If I delete it, it shows up when I start LibreOffice again.

I copied Ubuntu's /etc/fonts contents so fonts would be smoother. Might that have done something?
Last edited by rorschach on 2012-11-02 18:09, edited 1 time in total.
rorschach
 
Posts: 65
Joined: 2011-08-12 23:54

Re: LibreOffice creates fontconfig folder in home when launc

Postby craigevil » 2012-11-02 00:40

It is normal. And a good thing.

#681308 - libreoffice: slow display with font fallback (no fontconfig caching) - Debian Bug report logs - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681308

LibreOffice development - http://comments.gmane.org/gmane.comp.do ... evel/31809
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: LibreOffice creates fontconfig folder in home when launc

Postby rorschach » 2012-11-02 01:23

Did I miss the part about creating a
Code: Select all
fontconfig
instead of
Code: Select all
.fontconfig
?

Also, it turns out that GIMP creates the same folder. A non-hidden
Code: Select all
fontconfig
.
rorschach
 
Posts: 65
Joined: 2011-08-12 23:54

Re: LibreOffice creates fontconfig folder in home when launc

Postby craigevil » 2012-11-02 03:35

whoops so its not .fontconfig but a non-hidden folder named fontconfig?

Nothing like that here and I have both LibreOffice and GIMP installed, both of which are used often.

$ apt-cache policy gimp
gimp:
Installed: 2.8.2-1
Candidate: 2.8.2-1
Version table:
*** 2.8.2-1 0
500 http://ftp.us.debian.org/debian/ unstable/main i386 Packages

$ apt-cache policy libreoffice
libreoffice:
Installed: 1:3.5.4+dfsg-3
Candidate: 1:3.5.4+dfsg-3
Version table:
1:3.6.3~rc2-1 0
1 http://ftp.us.debian.org/debian/ experimental/main i386 Packages
*** 1:3.5.4+dfsg-3 0
500 http://ftp.us.debian.org/debian/ unstable/main i386 Packages
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: LibreOffice creates fontconfig folder in home when launc

Postby rorschach » 2012-11-02 16:04

Yes, it's a fontconfig folder without a leading ".". Which is why its so annoying to have it pop up in my home folder all the time.

I'm running the same versions as you (except my libreoffice is dfsg-2), so I'm guessing it must be some side-effect from copying over Ubuntu's /etc/fonts contents. I'll try to reinstall Debian's and see if that fixes it, but if it does, then I'm left without smooth fonts.
rorschach
 
Posts: 65
Joined: 2011-08-12 23:54

Re: LibreOffice creates fontconfig folder in home when launc

Postby rorschach » 2012-11-02 16:47

So the file that was the culprit appears to be /etc/fonts/fonts.conf
Copying over the rest of Ubuntu's /etc/fonts didn't seem to trigger the problem. Copying over the fonts.conf, however, did.

There is a section of that file that reads like so:
Code: Select all
   <cachedir>/var/cache/fontconfig</cachedir>
   <cachedir prefix="xdg">fontconfig</cachedir>
   <!-- the following element will be removed in the future -->
   <cachedir>~/.fontconfig</cachedir>


Adding a preceding "." to "fontconfig" on the second line in the above code seems to have fixed the problem, although I don't think that's really the proper way to do things.
rorschach
 
Posts: 65
Joined: 2011-08-12 23:54

Re: LibreOffice creates fontconfig folder in home when launc

Postby dbruce » 2012-11-02 17:48

IMO copying anything under /etc from Ubuntu to Debian is just ..... well, it's just plain evil! :lol: And there's your proof!
User avatar
dbruce
 
Posts: 137
Joined: 2011-06-17 21:24
Location: In the field, moving at high speed

Re: [FIXED] LibreOffice creates fontconfig folder in home

Postby epiloque » 2013-10-14 19:23

Just remove the
Code: Select all
<cachedir prefix="xdg">fontconfig</cachedir>

in the /etc/fonts/fonts.conf
epiloque
 
Posts: 1
Joined: 2013-10-14 19:21


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable