Use lang=und instead of lang=xx for "undetermined"
That's the correct BCP 47 code.
This commit is contained in:
parent
76151ceaf3
commit
9a8e812477
|
@ -1446,10 +1446,10 @@ FcFreeTypeQueryFace (const FT_Face face,
|
|||
free (utf8);
|
||||
if (lang)
|
||||
{
|
||||
/* pad lang list with 'xx' to line up with elt */
|
||||
/* pad lang list with 'und' to line up with elt */
|
||||
while (*nlangp < *np)
|
||||
{
|
||||
if (!FcPatternAddString (pat, eltlang, (FcChar8 *) "xx"))
|
||||
if (!FcPatternAddString (pat, eltlang, (FcChar8 *) "und"))
|
||||
goto bail1;
|
||||
++*nlangp;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue