How to use FreeType library for Android in native code?

I use FreeType in my Android applications as a static library that I compile myself. I want my application to be smaller, so I'm looking for the opportunity to use the system version of FreeType. Can this be done? Is it a stable API?

+5
source share
1 answer

According to this article, this is not possible and requires cross-compiling the library.

If you need FreeType (a library for rendering fonts), you need to cross-compile. Note. Android uses FreeType, but internally it does not apply to native applications.

+4
source

All Articles