Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[FIXED] LibreOffice creates fontconfig folder in home

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
rorschach
Posts: 66
Joined: 2011-08-12 23:54

[FIXED] LibreOffice creates fontconfig folder in home

#1 Post by rorschach »

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.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: LibreOffice creates fontconfig folder in home when launc

#2 Post by craigevil »

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
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

rorschach
Posts: 66
Joined: 2011-08-12 23:54

Re: LibreOffice creates fontconfig folder in home when launc

#3 Post by rorschach »

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
.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: LibreOffice creates fontconfig folder in home when launc

#4 Post by craigevil »

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
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

rorschach
Posts: 66
Joined: 2011-08-12 23:54

Re: LibreOffice creates fontconfig folder in home when launc

#5 Post by rorschach »

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: 66
Joined: 2011-08-12 23:54

Re: LibreOffice creates fontconfig folder in home when launc

#6 Post by rorschach »

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.

User avatar
dbruce
Posts: 137
Joined: 2011-06-17 21:24
Location: In the field, moving at high speed

Re: LibreOffice creates fontconfig folder in home when launc

#7 Post by dbruce »

IMO copying anything under /etc from Ubuntu to Debian is just ..... well, it's just plain evil! :lol: And there's your proof!

epiloque
Posts: 1
Joined: 2013-10-14 19:21

Re: [FIXED] LibreOffice creates fontconfig folder in home

#8 Post by epiloque »

Just remove the

Code: Select all

<cachedir prefix="xdg">fontconfig</cachedir>
in the /etc/fonts/fonts.conf

Post Reply