[Fontconfig] Mongolian, other, language mappings

Akira TAGOH akira at tagoh.org
Thu Oct 25 07:55:23 UTC 2018


Thanks. merged.

BTW apparently you missed your account which has the right access. I
guess someone in sitewranglers might helps you to recover your
original account.
On Thu, Oct 25, 2018 at 6:31 AM Behdad Esfahbod <behdad at behdad.org> wrote:
>
> I have lost my push access since the gitlab migration.  Here's a trivial bugfix:
>
> Author: Behdad Esfahbod <behdad at behdad.org>
> Date:   Wed Oct 24 13:20:40 2018 -0700
>
>     Fix name-table language code mapping for Mongolian
>
> diff --git a/src/fcfreetype.c b/src/fcfreetype.c
> index 07978cf..cb79f20 100644
> --- a/src/fcfreetype.c
> +++ b/src/fcfreetype.c
> @@ -193,9 +193,9 @@ static const FcFtLanguage   fcFtLanguage[] = {
>   {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_KIRGHIZ,              "ky" },
>   {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_TAJIKI,               "tg" },
>   {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_TURKMEN,              "tk" },
> - {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN,            "mo" },
> - {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT,"mo" },
> - {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN_CYRILLIC_SCRIPT, "mo" },
> + {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN,            "mn" },
> + {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT,"mn" },
> + {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_MONGOLIAN_CYRILLIC_SCRIPT, "mn" },
>   {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_PASHTO,               "ps" },
>   {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_KURDISH,              "ku" },
>   {  TT_PLATFORM_MACINTOSH,     TT_MAC_LANGID_KASHMIRI,             "ks" },
> behdad:fc-lang 0$
>
> 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:
>
>   https://github.com/harfbuzz/harfbuzz/pull/1254/commits/3b40cadcaa06ab0e14f094d409735fab2d554406
>
> --
> behdad
> http://behdad.org/
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH


More information about the Fontconfig mailing list