Pango Problem



 

Hi all,

         I have problem in the pango API pango_ft2_render_layout_line. I passing a valid FT_Bitmap setting the

Mode as grayscale and pango line. What should be the value for x,y. For example if the text is

“This is a test” what should be the value for x,y. I tested with different values, Iam not able

to see the font in the screen. I debugged I found that the parameter required for the

function pango_ft2_renderer_draw_glyph() may not be send correctly.

the  function _pango_ft2_font_get_cache_glyph_data () returned NULL , the number of glyph is 55  

and   the y_start is 0 and y_limit is 6  and x_start is 0 and x_limit is 6   which are used for drawing glyphs

 because of this iam not able to render font in the screen.

Please help me to fix this problem since it is very much needed.

Thanks in advance ,

 

Regards,

Dharma

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]