You are not logged in.

#1 2013-09-05 22:25:01

makey
Member
Registered: 2012-11-03
Posts: 20

[SOLVED] Fontconfig out of memory error

Hi, when I do "fc-cache -vf ~/.fonts" I get the following output:

Fontconfig error: "/etc/fonts/infinality/conf.d/30-non-latin.conf", line 463: out of memory
Fontconfig error: Cannot load config file "/etc/fonts/infinality/conf.d/30-non-latin.conf"
/home/makey/.fonts: caching, new cache contents: 139 fonts, 0 dirs
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/makey/.cache/fontconfig: cleaning cache directory
/home/makey/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded

I'm worried about the error. I definitely have enough memory(8gigs) and I couldn't google anything relevant. Any thoughts?
Thanks

Last edited by makey (2013-09-06 06:27:22)

Offline

#2 2013-09-05 22:57:57

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

Re: [SOLVED] Fontconfig out of memory error

Inspect the file:

Fontconfig error: "/etc/fonts/infinality/conf.d/30-non-latin.conf", line 463: out of memory
Fontconfig error: Cannot load config file "/etc/fonts/infinality/conf.d/30-non-latin.conf"

Fontconfig informs you clearly that something is wrong with line 463 and that 30-non-latin.conf can't be loaded at all.

Last edited by bohoomil (2013-09-05 22:59:27)


:: Registered Linux User No. 223384

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

Offline

#3 2013-09-05 23:06:52

makey
Member
Registered: 2012-11-03
Posts: 20

Re: [SOLVED] Fontconfig out of memory error

Sorry, forgot to mention this - yeah, checking the file was the first thing I did. Line 463 is "</match>" tag. Here is the link to the file if it helps.

Offline

#4 2013-09-05 23:23:29

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

Re: [SOLVED] Fontconfig out of memory error

Remove both <match target="font"> and </match>: they are not needed there.


:: Registered Linux User No. 223384

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

Offline

#5 2013-09-06 06:26:59

makey
Member
Registered: 2012-11-03
Posts: 20

Re: [SOLVED] Fontconfig out of memory error

Thanks a lot bohoomil, that solved the issue smile

Offline

Board footer

Powered by FluxBB