Using Pango for text rendering on Android



Hi,

I have a multi-platform project which needs software rendering of
graphical primitives (lines, circles, etc) and international text into
memory pixmaps.
Pango seems to be a good choice for this purpose, and it works perfectly
for me on some different Linux platforms, including embedded devices.
Recently I ported it to Android (based on
http://dev.laptop.org/git/users/cscott/android-libs ) and it works fine,
except that the initialization time is 2 minutes (!) on my fastest
device (1.7 GHz CPU). According to debug results, the fontconfig
initialization is guilty. It makes the application completely unusable,
however, the rendering speed is perfect (after the initialization has
been completed).

Any ideas would be appreciated to resolve this problem.
My questions are:

- Is it possible to use the Android built-in Java-based font rendering?
IMHO it would be the better solution. I found some articles about it on
the net, but could not find real solution.
- Can I use other font-render backends for Pango?
- Is there any similar solution other than Pango?

Thanx in advance
Gyorgy Kovesdi




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