Re: pango or any other way to format text



On Mon, 2012-05-14 at 20:20 +0800, Rudra Banerjee wrote:
Can anybody please take some time to show me simple way of
implementing pango formatting to get greek letters, subscripts and
superscripts in gtk2+?
A minimal(complete with headers) example will be very appriciated.

Greek is the same as English - just use the Unicode characters - even
for polytonic Greek in most cases.

For superscript and subscript you use <sup> and <sub> as in HTML. These
are not needed for Greek accents such as rough breathing, of course.

Liam
 

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/




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