Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Android system FreeType library in native code?

I use FreeType in my Android applications as a static library which i compile myself. I want to make my app smaller so i'm looking for a possibility to use the system version of FreeType. Is it possible to do? Is it a stable API?

like image 546
Sergey K. Avatar asked Oct 07 '22 18:10

Sergey K.


1 Answers

According to this article it is not possible and requires you to cross compile the library.

If you need FreeType (a library to render fonts), you'll need to cross-compile it. Note: The Android system uses FreeType but internally it doesn't expose it to native apps.

like image 98
DrYap Avatar answered Oct 12 '22 12:10

DrYap