[cairo] Text rendering issue on embedded device.

Sid Kapoor sidkapoor2000 at gmail.com
Fri Jan 22 08:55:27 PST 2010


Hi,

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 :
pango-1.26.0
cairo-1.8.8
atk-1.28.0
fontconfig-2.7.0
freetype-2.3.9
jpeg-6b
libiconv-1.12
pixman-0.16.2
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/d550f47a/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.jpg
Type: image/jpeg
Size: 18030 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100122/d550f47a/attachment-0003.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.jpg
Type: image/jpeg
Size: 24876 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100122/d550f47a/attachment-0004.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.jpg
Type: image/jpeg
Size: 41152 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100122/d550f47a/attachment-0005.jpg 


More information about the cairo mailing list