On Fri, Jan 22, 2010 at 12:07 AM, Kai Sterker <kai.ster...@gmail.com> wrote:

> Rendering should be fine now, but input still needs some updates.
> ASCII input appears to work again, but I didn't manage to type
> anything more complex yet.

The textbox for input is now aware of unicode as well. The one
remaining problem is using a font that actually contains the required
glyphs. I guess the best we can do here is allowing to select a font
via the config file, just as with v0.3. This should be simple change.

As for the overall state of unicode support:
* SDL 1.2 has only limited support for unicode text input. Anything
that requires complex input methods is probably not working when using
the 1.2 backend.
* SDL 1.3 supports full unicode text input. Should be possible to
enter any conceivable character using the 1.3 backend.
* Internally, the GUI now uses strings in UTF-8 encoding and can thus
display any character that is part of the chosen font.
* Game data (including the python scripts) should contain plain ASCII
only. Translations into other languages via gettext will be UTF-8
encoded, however. So while it is not possible to directly create games
in non-English languages, games could be translated into any other
language with ease.

Attached is a little snapshot of some simple unicode text I just typed
in (using guitest) :-)

Kai

<<attachment: unicode.png>>

_______________________________________________
Adonthell-devel mailing list
Adonthell-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/adonthell-devel

Reply via email to