Pango and Android
- From: Pere Pujal i Carabantes <perepujal gmail com>
- To: gtk-i18n-list gnome org, tuxpaint-devel lists sourceforge net
- Subject: Pango and Android
- Date: Tue, 15 Dec 2015 23:44:25 +0100
Hi all,
CC gtk-i18n-list gnome org and tuxpaint-devel lists sourceforge net
Background for the Pango devs >>>
This year's GSOC Jianwei Zhang ported Tux Paint to Android, it uses SDL
SDL_Pango Pango for rendering text, you can find the sources and the
Android.mk file used to compile Pango at
https://github.com/perepujal/Tuxpaint-Android/tree/master/jni/pango-1.3
7.1
<<< Background
It performs fine in old(4.0.3) and new(5.0) Androids, however in some
4.3 and 4.4 non ASCII text is messed up.
I found a strange workaround that is to set
SDLPango_SetLanguage(font->pango_context, "ca")
in jni/tuxpaint/src/tuxpaint.c
This works for Catalan, Spanish and French, instead setting
SDLPango_SetLanguage(font->pango_context, "es") or "fr"
doesn't work for any language.
Any hints to debug this?
Thanks for any input
Pere
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]