After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 476823 - Text coming as black rectangles
Text coming as black rectangles
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: [obsolete] Backend: directfb
2.11.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Michael Emmel
Depends on:
Blocks:
 
 
Reported: 2007-09-14 07:50 UTC by RENY
Modified: 2007-12-13 06:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description RENY 2007-09-14 07:50:41 UTC
Please describe the problem:
The places where the text should appear is coming as black rectangles

Steps to reproduce:
1. Run testpixbuf in gtk+-2.11.6/demos
2. The text is coming as black rectangles
3. 


Actual results:


Expected results:
The text should display correctly in a readable form

Does this happen every time?
Always

Other information:
Comment 1 Michael Emmel 2007-09-14 11:30:41 UTC
Generally this mean pango was not configured with the cairo backend.
DirectFB requires the cairo backend in pango.

If you know how to check this in autoconf I should add a check.


Comment 2 Behdad Esfahbod 2007-09-14 19:58:52 UTC
I remember the debian-installer guys having this problem too.  No idea how they solved it.  Lets see if we get more info.
Comment 3 Michael Emmel 2007-09-14 22:15:13 UTC
Yep saw that thread.

My opinion is distros should start supporting DirectFB and we just compile everything for both. Only Cairo is a pain because it does not load its backends from libraries. Otherwise its basically transparent. I think the decision to link in the cairo backends is a mistake. The glitz backend should be used if you have a good 3D driver for example if your local IMHO. This is not a compile time decision. But bitching about cairo design decisions in a gtk bug is probably a waste of time :)
Comment 4 Behdad Esfahbod 2007-09-14 23:47:43 UTC
Well, you definitely know where to nag about cairo!
Comment 5 RENY 2007-12-05 12:53:57 UTC
(In reply to comment #4)
> Well, you definitely know where to nag about cairo!

Hi,

 With the patch for cairo(cairo_show_glyphs.patch) given in gtk-devel-list@gnome.org by Denis Oliver Kropp, this probelem is solved. I checked it with cairo-1.2.6 and gtk+-2.10.14.

Thanks & Regards
Reny
 
Comment 6 Behdad Esfahbod 2007-12-05 22:02:39 UTC
Link please?
Comment 7 RENY 2007-12-06 06:31:25 UTC
(In reply to comment #6)
> Link please?
Hi Behad,

Sorry, I am new to bugzilla and the mailing list. I got the patches from the mailing list. I don't know how to get the link. Can you please let me know how to get the link.

From google, I got the following link which contains the specified mail
http://snteam-events.blogspot.com/2007/12/gtk-devel-list-digest-vol-44-issue-10.html

Name: cairo_show_glyphs.patch
Type: text/x-patch
Size: 773 bytes
Desc: not available
Url : /archives/gtk-devel-list/attachments/20071205/41648902/attachment-0012.bin 

Thanks & Regards
Reny
Comment 8 RENY 2007-12-13 06:09:59 UTC
The issue was in cairo-dfb backend. This fix is already in cairo source tree and is expected to be in from cairo version 1.5.5 onwards