LWN.net Logo

AIST and Free Standards Group Release Multilingual C Library

The National Institute of Advanced Industrial Science and Technology (AIST) of Japan and the Free Standards Group have announced the release of a new library for the multilingualization of software written in the C programming language. The library, known as m17n, has been released under the GNU Lesser General Public License (LGPL).
(Log in to post comments)

Thanks where due

Posted Mar 2, 2004 20:49 UTC (Tue) by ccyoung (subscriber, #16340) [Link]

Another sterling example of the coorperative efforts happening worldwide. If it were not for MS's heavy-handedness and voracity I doubt any of this would be happening.

Thanks where due

Posted Mar 2, 2004 23:27 UTC (Tue) by flewellyn (subscriber, #5047) [Link]

Well, actually, RMS started the GNU project back before Microsoft was really that big. So, without them, well...we'd probably be angry at Apple Computer, instead. :-)

AIST and Free Standards Group Release Multilingual C Library

Posted Mar 3, 2004 5:50 UTC (Wed) by jamesh (subscriber, #1159) [Link]

The web site for this library is http://www.m17n.org/m17n-lib/ (mentioned at the bottom of the press release).

There seems to be a fair bit of overlap between this library and the Pango library used for multilingual text rendering by GTK. It seems a bit surprising that they don't even mention Pango while talking about how their library could be used by Gnome.

AIST and Free Standards Group Release Multilingual C Library

Posted Mar 3, 2004 7:54 UTC (Wed) by antony_shen (guest, #19881) [Link]

Seems really like what Pango works. But I don't know how to use Pango, since there is no tutorial to tell how to use it. Maybe someone know where to dig first. If you know, please tell me. I want to try it.

AIST and Free Standards Group Release Multilingual C Library

Posted Mar 3, 2004 8:39 UTC (Wed) by jamesh (subscriber, #1159) [Link]

For basic use, you need not touch any of the Pango APIs directly. Every time you pass some text to a GTK API to be displayed on the screen, you are indirectly using Pango. Try creating a GtkLabel displaying some intermixed english and hebrew text, for instance. If you are using standard GTK widgets, you get many of these features for free.

If you need to do more involved work, you can use gtk_widget_get_pango_context() to get a reference to a PangoContext object. From there, you can create a PangoLayout (an object representing a unit of text). You can then draw the text to some window with gdk_draw_layout().

Copyright © 2004, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds