]> granicus.if.org Git - libass/commit
fontconfig: improve weight mapping
authorRodger Combs <rodger.combs@gmail.com>
Fri, 12 Oct 2018 05:37:47 +0000 (00:37 -0500)
committerOleg Oshmyan <chortos@inbox.lv>
Thu, 26 Sep 2019 13:48:42 +0000 (16:48 +0300)
commitd9c1df24c148fb6f6a19d6563c3f6abe8653264b
tree900cad5cf60b9e961978482a0c84341a724ff997
parent6591a60a3d720f576352f8b4ef08362673d35cd0
fontconfig: improve weight mapping

Use FcWeightToOpenType when available; otherwise, use an if/elseif ladder
implementing the inverse of fontconfig's behavior.
libass/ass_fontconfig.c