[cairo] Text rendering issue on embedded device.

Sid Kapoor sidkapoor2000 at gmail.com
Fri Jan 22 05:51:07 PST 2010


I am trying to port GTK+-2.18.3 on TinyX for a 600x800 embedded device.

Hardware specifications of the device are:
Frame Buffer bit depth: 4bpp
Resolution: 600x800
Visual Type: Static Gray
device dpi : 167

Other dependency packages for GTK+ are :


While doing so, I am getting the GTK+ windows correctly. Even the jpeg and
png files are rendered properly.
But text and gif images are not rendered properly. They are compressed along
the width and appears to be broken
(there are alternate black and white columns of pixels). Is this issue due
to the 4bpp frame buffer?
Does cairo support 4bpp gray-scale pixel format?
If I run pango over X backend, the output is perfect. But for the backends
cairo/xft the problem persists.

I have attached the screenshots of various commands for the reference.

For command
# pango-view  --text=abcd --backend=cairo --waterfall
refer 1.jpg

For command
# pango-view  --text=abcd --backend=x --waterfall
refer 2.jpg

For command
# pango-view  --text=abcd --backend=cairo --font="400"
refer 3.jpg

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20100122/76b4212f/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.jpg
Type: image/jpeg
Size: 821342 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100122/76b4212f/attachment-0003.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.jpg
Type: image/jpeg
Size: 869526 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100122/76b4212f/attachment-0004.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.jpg
Type: image/jpeg
Size: 839402 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100122/76b4212f/attachment-0005.jpg 

More information about the cairo mailing list