You are not logged in.

#1 2016-04-02 05:56:57

Eraph
Member
From: /au/qld/bne
Registered: 2016-02-29
Posts: 282
Website

Bitmap Font causing problems for apps

This problem affects GIMP and Geany, but not all the time. I use a bitmap font for all my window decorations and on the GTK widgets. With the bitmap font selected for GTK widgets, most of the time the apps will appear and then instantly close themselves. If I change the font to something else, they will work.
How can I diagnose the problem better? I've tried looking in logs but haven't been able to find anything useful, so I'm not sure I'm looking in the right logs. I figure it must be fixable because, as I said before, occasionally they will cooperate, and I rather like my bitmap fonts.


Lenovo IdeaPad Yoga 13 | BunsenLabs Hydrogen (x64)
Intel Core i7-3537U | Intel HD4000 | 8GB DDR3 | 256GB SSD

Offline

#2 2016-04-02 10:51:33

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Bitmap Font causing problems for apps

Try opening the programs that crash from a terminal window and see if any error messages are returned.

/var/log/Xorg.0.log is also useful -- if in doubt, perhaps post a pastebin link to the full log file collected during a program hang.

You could try the systemd journal but I doubt it would add anything extra:

sudo gpasswd -a $USER systemd-journal
newgrp systemd-journal
man journalctl

Replace $USER with your actual username wink

https://www.digitalocean.com/community/ … stemd-logs

Offline

#3 2016-04-03 23:19:57

Eraph
Member
From: /au/qld/bne
Registered: 2016-02-29
Posts: 282
Website

Re: Bitmap Font causing problems for apps

Head_on_a_Stick wrote:

Try opening the programs that crash from a terminal window and see if any error messages are returned.

Bingo!

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

Is this Gimp's way of saying "yeah nah, don't use bitmap fonts"?


Lenovo IdeaPad Yoga 13 | BunsenLabs Hydrogen (x64)
Intel Core i7-3537U | Intel HD4000 | 8GB DDR3 | 256GB SSD

Offline

#4 2016-04-04 07:35:43

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Offline

#5 2016-04-04 08:20:47

Eraph
Member
From: /au/qld/bne
Registered: 2016-02-29
Posts: 282
Website

Re: Bitmap Font causing problems for apps

Yep. Saw that. Unresolved. Bitmap fonts, they am getting no love. Oh well.


Lenovo IdeaPad Yoga 13 | BunsenLabs Hydrogen (x64)
Intel Core i7-3537U | Intel HD4000 | 8GB DDR3 | 256GB SSD

Offline

#6 2016-04-04 19:22:17

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Bitmap Font causing problems for apps

hmmm.
i remember that exact problem, however, i now tried it with gimp (2.8.16 under archlinux) and it works no problem.
neither does my filemanager (pcmanfm) cause any trouble. or geany.
but all under archlinux.
how can i reproduce the problem?

Last edited by ohnonot (2021-07-04 06:31:21)

Offline

#7 2016-04-04 23:23:17

Eraph
Member
From: /au/qld/bne
Registered: 2016-02-29
Posts: 282
Website

Re: Bitmap Font causing problems for apps

I'm on gimp 2.8.14, and libcairo2 1.14.0.

Maybe I should man up and enable backports big_smile

--Edit
Added a warning to the enabling bitmap fonts tutorial.

Last edited by Eraph (2016-04-04 23:56:13)


Lenovo IdeaPad Yoga 13 | BunsenLabs Hydrogen (x64)
Intel Core i7-3537U | Intel HD4000 | 8GB DDR3 | 256GB SSD

Offline

#8 2016-04-06 17:05:58

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Bitmap Font causing problems for apps

ok, here's something that might help:
i am not actually using cairo 1.14.6-1, but cairo-infinality-ultimate 1.14.6-1.
that is part of the infinality bundle: https://github.com/bohoomil/fontconfig-ultimate

and helpful links for installing it on debian:
http://forums.debian.net/viewtopic.php?t=88545
https://wiki.debian.org/Fonts#Infinality_for_Debian
https://github.com/chenxiaolong/Debian-Packages

it just might help with the problem at hand...

Offline

#9 2016-04-06 22:21:39

Eraph
Member
From: /au/qld/bne
Registered: 2016-02-29
Posts: 282
Website

Re: Bitmap Font causing problems for apps

Thanks ohnonot, I'll bear this in mind. I've actually changed my theme so I'm not using bitmap fonts at the moment, but if I decide to go back, I'll give it a go.


Lenovo IdeaPad Yoga 13 | BunsenLabs Hydrogen (x64)
Intel Core i7-3537U | Intel HD4000 | 8GB DDR3 | 256GB SSD

Offline

Board footer

Powered by FluxBB