<div class="gmail_quote"><br>
<p>Hi,</p>
<p>I am trying to port GTK+-2.18.3 on TinyX for a 600x800 embedded device.</p>
<p>Hardware specifications of the device are:</p>
<div>Frame Buffer bit depth: 4bpp<br>Resolution: 600x800<br>Visual Type: Static Gray</div>
<div>device dpi : 167</div>
<p>Other dependency packages for GTK+ are :</p>
<p>pango-1.26.0<br>cairo-1.8.8<br>atk-1.28.0<br>fontconfig-2.7.0<br>freetype-2.3.9<br>jpeg-6b<br>libiconv-1.12<br>pixman-0.16.2</p>
<div><br>While doing so, I am getting the GTK+ windows correctly. Even the jpeg and png files are rendered properly.<br>But text and gif images are not rendered properly. They are compressed along the width and appears to be broken <br>
(there are alternate black and white columns of pixels). Is this issue due to the 4bpp frame buffer? <br>Does cairo support 4bpp gray-scale pixel format? </div>
<div>If I run pango over X backend, the output is perfect. But for the backends cairo/xft the problem persists.</div>
<p>I have attached the screenshots of various commands for the reference.</p>
<p>For command <br># pango-view --text=abcd --backend=cairo --waterfall <br>refer 1.jpg</p>
<p>For command <br># pango-view --text=abcd --backend=x --waterfall <br>refer 2.jpg</p>
<p>For command <br># pango-view --text=abcd --backend=cairo --font="400" <br>refer 3.jpg</p>
<p><br>Thanks in advance.<br clear="all"></p></div>