Re: pango font for arrow keys



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.
> 

You can use any font, but you need to find the Unicode character for
the arrow, instead of whatever character stock ticker used before.

Look in the Unicode book or at the PDF files on unicode.org.

Havoc



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