Re: pango font for arrow keys



Hi,

Deepa Chacko Pillai <deepa chacko wipro com> writes:

> I am porting GdkFont in stock-ticker to Pango. I am not able
> to find the Pango font which will display the up/down arrow
> characters. Previously, it was Symbol (Adobe).  When I used
> Symbol as the font to Pango, it gave me "Invalid UTF8 string
> passed to pango_layout_set_text()". What is the font I
> should use to display such symbols like arrow.

I doubt you can assume that a font with these symbols is available
on every users system unless you ship it with the application. 
Apart from that, whatever font you use, you absolutely need to pass
UTF-8 strings and nothing but UTF-8 strings to GTK+-2.0 or Pango.


Salut, Sven



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