[vlc-devel] [PATCH 1/1] Freetype: support Android's new fonts.xml

Salah-Eddin Shaban salah at videolan.org
Mon Mar 13 02:35:06 CET 2017

On Mon, Mar 13, 2017 at 12:32 AM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> Hello Salah,

Hello JB,

> In addition to the previous remarks from Filip, I would prefer that you
> don't use "Old" and "New", because Android WILL break it again in the
> future, because it is Android...
> So please use API names like v23 or v24 (Nougat).
> Also, the sample only has 400 and 700, but I'm sure people will add
> more...

You mean the sample fonts.xml you sent me?

It does have font weights other than these two. Question is what do we
do with them?

Like I said before, our text styles and all font code recognize only
bold and regular, and not different font weights.

If you mean we should change everything to support font weights, that
will require some more fundamental changes.

I'm afraid I cannot do that right now.

More information about the vlc-devel mailing list