Re: Displaying iso 6937-2 character set letters in GtkWidget
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: Displaying iso 6937-2 character set letters in GtkWidget
- Date: Wed, 9 May 2007 17:20:43 +0200
On Wed, May 09, 2007 at 08:31:11PM +0530, prabahar k wrote:
I need a way to use iso 6937-2 set for display it in console or on a
suitable GTK widget (suggest any) through a c program.
I found that this set is available in
/usr/lib/gconv/ folder as iso_6937-2.so file.
how do we use it in a c program. Please give suggestion about this.
To display any text in Gtk+ you need to:
1. represent it in UTF-8
2. have the corresponding Pango script engine
3. have suitable fonts
With these three ingredients, any Gtk+ widget can display
the text. Without them, none can.
I don't know what languages/scripts ISO 6937-2 is used for,
so I can't tell what the situation is with 2 and 3. However
if GNU iconv supports it, chances are at least 1 can be done
with g_convert(). Conversion to Unicode is nowadays also
the first step to display it esentially anywhere.
Yeti
--
http://gwyddion.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]