emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 8d28c98: Fix display of Big5 characters when using Fontconfig


From: Eli Zaretskii
Subject: emacs-27 8d28c98: Fix display of Big5 characters when using Fontconfig
Date: Sat, 14 Mar 2020 04:32:46 -0400 (EDT)

branch: emacs-27
commit 8d28c98ae0e702ebfa56a996ce9332a5b071d926
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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
    <address@hidden>.  (Bug#40057)
    
    * src/macfont.m (cf_charset_table): Adjust the comment.
---
 src/ftfont.c  | 2 +-
 src/macfont.m | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ftfont.c b/src/ftfont.c
index 219e214..2b442ea 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -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"},
diff --git a/src/macfont.m b/src/macfont.m
index c1bc30f..c589b66 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -664,7 +664,7 @@ static struct
     { "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")},



reply via email to

[Prev in Thread] Current Thread [Next in Thread]