Fix display of Big5 characters when using Fontconfig
* src/ftfont.c (fc_charset_table): Fix the value of the big-5 representative codepoint. Reported by Brian Schack <bschack-cocoa@usa.net>. (Bug#40057) * src/macfont.m (cf_charset_table): Adjust the comment.
This commit is contained in:
parent
a2b07f9f11
commit
8d28c98ae0
2 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ static struct
|
|||
{ "iso8859-15", { 0x00A0, 0x00A1, 0x00D0, 0x0152 }},
|
||||
{ "iso8859-16", { 0x00A0, 0x0218}},
|
||||
{ "gb2312.1980-0", { 0x4E13 }, "zh-cn"},
|
||||
{ "big5-0", { 0xF6B1 }, "zh-tw" },
|
||||
{ "big5-0", { 0x9C21 }, "zh-tw" },
|
||||
{ "jisx0208.1983-0", { 0x4E55 }, "ja"},
|
||||
{ "ksc5601.1985-0", { 0xAC00 }, "ko"},
|
||||
{ "cns11643.1992-1", { 0xFE32 }, "zh-tw"},
|
||||
|
|
|
@ -664,7 +664,7 @@ static void mac_font_get_glyphs_for_variants (CFDataRef, UTF32Char,
|
|||
{ "iso8859-15", { 0x00A0, 0x00A1, 0x00D0, 0x0152 }},
|
||||
{ "iso8859-16", { 0x00A0, 0x0218}},
|
||||
{ "gb2312.1980-0", { 0x4E13 }, CFSTR ("zh-Hans")},
|
||||
{ "big5-0", { /* 0xF6B1 in ftfont.c */ 0x4EDC }, CFSTR ("zh-Hant") },
|
||||
{ "big5-0", { /* 0x9C21 in ftfont.c */ 0x4EDC }, CFSTR ("zh-Hant") },
|
||||
{ "jisx0208.1983-0", { 0x4E55 }, CFSTR ("ja")},
|
||||
{ "ksc5601.1987-0", { 0xAC00 }, CFSTR ("ko")},
|
||||
{ "cns11643.1992-1", { 0xFE32 }, CFSTR ("zh-Hant")},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue