[vlc-devel] [PATCH 0/1] Freetype: fix font parsing on Android 7

Salah-Eddin Shaban salah at videolan.org
Sat Mar 11 09:45:00 CET 2017


Android 7 does not include the old xml font configuration files.
Unlike 5 and 6 it has only /system/etc/fonts.xml

Since our text styles do not support different font weights only the 400- and 700-weight fonts are needed, and aliases with specific weights are skipped.

Tested on Linux as I cannot at the moment build for Android.
Sorry about that.

Salah-Eddin Shaban (1):
  Freetype: support Android's new fonts.xml

 modules/text_renderer/freetype/fonts/android.c  | 207 ++++++++++++++++++++++--
 modules/text_renderer/freetype/freetype.c       |   5 +-
 modules/text_renderer/freetype/platform_fonts.c |   2 +-
 modules/text_renderer/freetype/platform_fonts.h |  10 +-
 4 files changed, 206 insertions(+), 18 deletions(-)

-- 
2.10.2



More information about the vlc-devel mailing list