From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.devel Subject: Re: Configuring fontsets with `unicode-fonts` [Was: Re: Should minibuffer prompt be made intangible by default?] Date: Sat, 02 Apr 2016 22:30:39 +1100 Message-ID: <87pou8s0ww.fsf@gmail.com> References: <56FD5468.1070609@gmail.com> <56FD9EDE.2010207@gmail.com> <878u0y9kdo.fsf@gmail.com> <83k2khu6u0.fsf@gnu.org> <87r3eos7zq.fsf@gmail.com> <83egaos3lq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1459596671 15196 80.91.229.3 (2 Apr 2016 11:31:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2016 11:31:11 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 02 13:31:04 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1amJlf-00009s-Gh for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2016 13:31:03 +0200 Original-Received: from localhost ([::1]:48986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amJle-0005Nx-N0 for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2016 07:31:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amJlR-0005No-8R for emacs-devel@gnu.org; Sat, 02 Apr 2016 07:30:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amJlO-00014T-1q for emacs-devel@gnu.org; Sat, 02 Apr 2016 07:30:49 -0400 Original-Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:34956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amJlM-00014B-In for emacs-devel@gnu.org; Sat, 02 Apr 2016 07:30:45 -0400 Original-Received: by mail-pf0-x232.google.com with SMTP id n1so4806901pfn.2 for ; Sat, 02 Apr 2016 04:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:subject:in-reply-to:date:message-id :mime-version; bh=kPUyVamXb3IHnK6rPvymyGfkyPdZmm3pjtivte6XQGE=; b=oTi9JXj+yFLAXriVMdC56bhMuU0vJeU0veWmBmsFOwsSovgamZ1CjQ9EgvhOq5F86s kmHCxgCSLDZb9h3DOVt9aEc8iqhIewnXM53vw6OQFohUNWYNLeb+L8w4BChrpUiOox2P MeSliUP3a7QYkHfieqjMPtl0QjM4gaH8efUIHSHj78wawpC1rXHYuZyl+7cUp79ungOy vR5KlZXUbkgvrJr00/CiiDDaxXo8OjcSDLEW4tVPLZICuorN2VN2BXA46x/6Ke5xIPI0 Oq/WMc1xrruVM8SJb40qMEY2oZmwgI1jtnHkZy14Hvle0IBDuhL+cROAnitKTl7gCDP2 YNdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version; bh=kPUyVamXb3IHnK6rPvymyGfkyPdZmm3pjtivte6XQGE=; b=JKvVPVqnwzBUUSAUonhjOmI2OpJ71n013u4wGE0sroVqJ8IJAJgfFw6/EUDhuu1pwh xYoKOHiVlg9brUMYil47UC1fhR5nHktxLqSuoyI/gNvZXx/9zQ6vrYbHJywSthpyNJDm d07OXiR648u7XsOtut9sn/hs3db6JC6IPp7Z5EfXaNN1fwJScV16xahzJfOQWvLc+QDl +fdEVMijcPnadhF2PQZAd1MVzBKgrZAHU57rL3+UiJSc4p5izztdOuGDC6a2nu0InMZt Wnr788LPJZrzuOHndAWz0OmzcgdJMegmbr7Yjytrw6REO8x9JYfleD6oXC/fJZQ1bwyi RxPQ== X-Gm-Message-State: AD7BkJIFscFyIIdGunKNabe0nxOW3E4PqDZ5ZFEi0mCwekXqoYqBuQgKZvCZ2Dx5JpyQZw== X-Received: by 10.98.67.67 with SMTP id q64mr5624409pfa.44.1459596643466; Sat, 02 Apr 2016 04:30:43 -0700 (PDT) Original-Received: from localhost (CPE-58-161-15-29.cqqy2.win.bigpond.net.au. [58.161.15.29]) by smtp.gmail.com with ESMTPSA id yj1sm28462199pac.16.2016.04.02.04.30.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Apr 2016 04:30:42 -0700 (PDT) User-agent: mu4e 0.9.16; emacs 24.5.3 In-reply-to: <83egaos3lq.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202589 Archived-At: Eli Zaretskii writes: >> > Installing fonts doesn't necessarily resolve the fontset >> > configuration problems, especially since no package can know >> > what other fonts are available on the end-user system. >> >> Sorry, i'm not sure you understand what the `unicode-fonts` >> package does? > > I've read the code, but that doesn't necessarily mean I didn't > miss anything, of course. > > However, I did read README.md as well, and upon re-reading now > the text you posted, I find nothing in it that would contradict > what I said. You wrote "Installing fonts doesn't ...", and didn't write something like "Installing fonts and then configuring them using that package doesn't .... "Since `unicode-fonts` doesn't actually install fonts, i think it wasn't entirely unreasonable of me to assume that you thought that the package merely installed fonts. > My point is that, once you get to the 3rd item, no external > package can be the correct answer; instead, you need to teach > the user to configure his/her fontset according to his/her > preferences. In particular, the fontset setup should be based > not only on Unicode blocks, but also on the capabilities of the > fonts present in the original system configuration, and the > user's preferences for using particular font(s) for displaying > particular ranges of characters. Sure. On my system, `unicode-fonts` actually decided to use glyphs from the "Linux Biolinum" family for displaying Hebrew, which i found basically illegible. So my setup manually prioritises Ezra SIL: (setcdr (assoc "Hebrew" unicode-fonts-block-font-mapping) '(("Ezra SIL" "Ezra SIL SR" "Arial Hebrew" "Raanana" "New Peninim MT" "Aharoni" "David" "FrankRuehl" "Gisha" "Levenim MT" "Narkisim" "Rod" "Cardo" "Courier New" "Adobe Hebrew" "Code2000" "Aramaic Imperial Yeb" "Microsoft Sans Serif" "Tahoma" "Lucida Sans Unicode" "Arial Unicode MS" "Arial" "Quivira" "Everson Mono:weight=boeld" "ALPHABETUM Unicode"))) At any rate, i've clearly misunderstood the problem - sorry! - so i'll bow out now. Alexis.