From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: setup-default-fontset Date: Sat, 03 Aug 2024 19:00:50 +0300 Message-ID: <865xshvbnx.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7055"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 03 18:02:30 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1saHDB-0001h5-5d for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Aug 2024 18:02:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saHBo-0002SP-05; Sat, 03 Aug 2024 12:01:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saHBl-0002Om-Ir for emacs-devel@gnu.org; Sat, 03 Aug 2024 12:01:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saHBl-0007SA-56; Sat, 03 Aug 2024 12:01:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:mime-version:in-reply-to: references; bh=ltEPcOYhic61levI71l6DSaR3ONpPBmjZyIitZIbCMc=; b=UblD+iy6rXzQeN J7q+Ks4KAn7c64qfoizk629Gz37HveWMLr7pbmfLsce/TX80aHdlsVozgVQmsOS3HbPYxxryOcG1A hCkpcWO/B0OdVZhmt5lUVFBQ9MxUAxJv5l4Y5O1FzW+8SksEo4UF4//qJmqdTNDnQ23ldH/V1BggE hW6OdvGH7b/lCpwFZ6B6ja+I+L13cMBCQRmMLA4fdcb7yxxS0wJsRKXs23uCVdEQoj507JK0RLVS/ SzXSJStk0qgfb1s7q0wu2Scm6FYpj0lcerp/e/FjJjxI+mrD77OOJ5sbv0iT1V04NbYoURPVT7tbt 0QfURuoIlGYlMg/eCnVw==; X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322313 Archived-At: The Android specific trick in this function, viz.: (han (nil . "GB2312.1980-0") (nil . "JISX0208*") (nil . "JISX0212*") (nil . "big5*") (nil . "KSC5601.1987*") (nil . "CNS11643.1992-1") (nil . "CNS11643.1992-2") (nil . "CNS11643.1992-3") (nil . "CNS11643.1992-4") (nil . "CNS11643.1992-5") (nil . "CNS11643.1992-6") (nil . "CNS11643.1992-7") (nil . "gbk-0") (nil . "gb18030") (nil . "JISX0213.2000-1") (nil . "JISX0213.2000-2") (nil . "JISX0213.2004-1") ,(font-spec :registry "iso10646-1" :lang 'ja) ,(font-spec :registry "iso10646-1" :lang 'zh) ;; This is required on Android, as otherwise many TrueType ;; fonts with CJK characters but no corresponding ``design ;; language'' declaration can't be found. ,@(and (featurep 'android) (list (font-spec :registry "iso10646-1" :script 'han)))) Should also be done for cjk-misc, right? Because that still says ;; This is required, as otherwise many TrueType fonts ;; with CJK characters but no corresponding ``design ;; language'' declaration can't be found. ,(font-spec :registry "iso10646-1" :script 'cjk-misc)) not conditioned by Android.