<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I have lost my push access since the gitlab migration.  Here's a trivial bugfix:</div><div><br></div><div>Author: Behdad Esfahbod <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>><br>Date:   Wed Oct 24 13:20:40 2018 -0700<br><br>    Fix name-table language code mapping for Mongolian<br><br>diff --git a/src/fcfreetype.c b/src/fcfreetype.c<br>index 07978cf..cb79f20 100644<br>--- a/src/fcfreetype.c<br>+++ b/src/fcfreetype.c<br>@@ -193,9 +193,9 @@ static const FcFtLanguage   fcFtLanguage[] = {<br>  {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_KIRGHIZ,              "ky" },<br>  {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_TAJIKI,               "tg" },<br>  {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_TURKMEN,              "tk" },<br>- {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN,            "mo" },<br>- {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT,"mo" },<br>- {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN_CYRILLIC_SCRIPT, "mo" },<br>+ {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN,            "mn" },<br>+ {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT,"mn" },<br>+ {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN_CYRILLIC_SCRIPT, "mn" },<br>  {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_PASHTO,               "ps" },<br>  {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_KURDISH,              "ku" },<br>  {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_KASHMIRI,             "ks" },<br>behdad:fc-lang 0$ <br></div><div><br></div><div>Also, that language mapping in fcfreetype.c can use more work.  I recently imported that into HarfBuzz, and then improved it.  Here's the improvements that can be ported back to fontconfig:</div><div><br></div><div>  <a href="https://github.com/harfbuzz/harfbuzz/pull/1254/commits/3b40cadcaa06ab0e14f094d409735fab2d554406">https://github.com/harfbuzz/harfbuzz/pull/1254/commits/3b40cadcaa06ab0e14f094d409735fab2d554406</a><br></div><div><br>-- <br><div dir="ltr" class="gmail_signature">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div></div></div></div></div>