You are not logged in.

#1 2014-03-12 00:05:30

hrdx
Member
Registered: 2014-03-11
Posts: 5

GIMP hangs when using bitmap Terminus as gtk UI font

Returns this:

gimp: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
gimp: terminated: Aborted

I've seen this on many distro's, including arch. TTF Terminus works ok.

Offline

#2 2014-03-14 06:43:47

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: GIMP hangs when using bitmap Terminus as gtk UI font

I am having the same problem with gimp and gmpc (and maybe a few other programs i don't use often).
it does not occur with most programs.
the problem occurs with all bitmap fonts. as soon as i change my gui font to some ttf or otf, the problem goes away.
the error message seems to be the exact same always - for gmpc it's like this:

gmpc: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
Aborted (core dumped)

close enough.

i have been using bitmap fonts for years and never had this problem.
i have been using arch and gimp and gmpc for almost a year and this problem started occuring only recently.
it may have started after moving my arch install to a new computer and esp. after changing to the proprietary nvidia graphic driver (i will check if reverting to nouveau helps).

searches on the web show that this problem has been around for about a year and is not limited to any distro or desktop environment (my environment is plain openbox, gtk2, no gtk3). but no solutions - no cairo bug reports either.

i tried installing infinality bundle (since it includes some cairo packages) but it didn't change anything.

maybe some setting in /etc/fonts/conf.d would help?
usually the first thing i do after a new os install is to enable bitmaps by removing the no-bitmaps.conf.
recently i also tried removing the synthetic.conf, but put it back later.
anyhow, this directory looks quite different now after install infinality-bundle:

$ ls /etc/fonts/conf.d
10-base-rendering.conf@       75-yes-terminus.conf@
30-metric-aliases-free.conf@  82-no-embedded-bitmaps.conf@
31-fix-cantarell.conf@        82-no-force-autohint.conf@
35-repl-custom.conf@          82-no-ttf-as-bitmap.conf@
37-repl-global-free.conf@     83-yes-bitmaps.conf@
40-non-latin.conf@            83-yes-postscript.conf@
45-latin.conf@                88-forced-synthetic.conf@
49-sansserif.conf@            90-non-tt-fonts.conf@
50-user.conf@                 90-tt-fonts.conf@
51-local.conf@                92-selective-rendering.conf@
60-latin-free.conf@           93-final-lang-spec-free.conf@
65-non-latin-free.conf@       93-final-rendering.conf@
66-aliases-wine-free.conf@    94-no-synthetic.conf@
68-override.conf@             95-reject.conf@
70-yes-bitmaps.conf@          README

edit: using a custom gtkrc and starting gimp like this

GTK2_RC_FILES=~/.gtkrc-alt /usr/bin/gimp

is a workaround, but i would like to find a solution.

Last edited by ondoho (2014-03-14 07:35:42)

Offline

#3 2014-03-14 07:13:57

progandy
Member
Registered: 2012-05-17
Posts: 5,203

Re: GIMP hangs when using bitmap Terminus as gtk UI font

ondoho wrote:

edit: using a custom gtkrc and starting gimp like this

GTK2_RC_FILES=~/.gtkrc-alt /usr/bin/gimp

is a workaround, but i would like to find a solution.

Another workaround is to put that in  ~/.gimp-2.8/gtkrc or /etc/gimp/2.0/gtkrc. You could also create a custom fontconfig for gimp: ~/.gimp-2.8/fonts.conf or /etc/gimp/2.0/fonts.conf

I already use /etc/gimp/2.0/fonts.conf to disable subpixel rendering for gimp.

Last edited by progandy (2014-03-14 07:14:55)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB