From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: which hebrew fonts are chosen? Changed after some private truetype fonts were added Date: Sat, 26 Aug 2017 12:12:24 +0300 Message-ID: <83shge66br.fsf@gnu.org> References: <87ziarwbo5.fsf@mat.ucm.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1503738803 15085 195.159.176.226 (26 Aug 2017 09:13:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 26 Aug 2017 09:13:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 26 11:13:19 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlX9V-0003IZ-IA for ged-emacs-devel@m.gmane.org; Sat, 26 Aug 2017 11:13:13 +0200 Original-Received: from localhost ([::1]:56672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlX9Z-0004qr-JT for ged-emacs-devel@m.gmane.org; Sat, 26 Aug 2017 05:13:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlX8u-0004qY-Nw for emacs-devel@gnu.org; Sat, 26 Aug 2017 05:12:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlX8r-0004n5-Fv for emacs-devel@gnu.org; Sat, 26 Aug 2017 05:12:36 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlX8r-0004n1-Cc; Sat, 26 Aug 2017 05:12:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4493 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dlX8q-0000HV-PI; Sat, 26 Aug 2017 05:12:33 -0400 In-reply-to: <87ziarwbo5.fsf@mat.ucm.es> (message from Uwe Brauer on Tue, 22 Aug 2017 21:11:06 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:217829 Archived-At: > From: Uwe Brauer > Date: Tue, 22 Aug 2017 21:11:06 +0000 > > However I just installed some private true type font > > into /usr/share/fonts/private > basically some hebrew fonts based on my handwriting. > Run sudo fc-cache -f > restart emacs but *then* > the font used for hebrew is my just installed handwritten ttf? > ,---- > | position: 21 of 22 (91%), column: 3 > | character: ם‎ (displayed as ם‎) (codepoint 1501, #o2735, #x5dd) > | preferred charset: unicode (Unicode (ISO10646)) > | code point in charset: 0x05DD > | script: hebrew > | syntax: w which means: word > | category: .:Base, R:Right-to-left (strong) > | to input: type "M" with hebrew-phonetic-qwerty input method > | buffer code: #xD7 #x9D > | file code: #xD7 #x9D (encoded by coding system utf-8-unix) > | display: by this font (glyph code) > | xft:-unknown-uwehebhand-normal-normal-normal-*-19-*-*-*-*-0-iso10646-1 (#x68) > | > | Character code properties: customize what to show > | name: HEBREW LETTER FINAL MEM > | general-category: Lo (Letter, Other) > | decomposition: (1501) ('ם') > | > | There are text properties here: > | fontified t > `---- > > What on earth did happen? Could it be that your font back-end prefers fonts in /usr/share/fonts/private to those in other directories? > How can I avoid this behavior? You can customize the definition of fontset-default to use DejaVu Sans Mono for the Hebrew block. See the documentation of set-fontset-font.