From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: which hebrew fonts are chosen? Changed after some private truetype fonts were added Date: Tue, 22 Aug 2017 21:11:06 +0000 Message-ID: <87ziarwbo5.fsf@mat.ucm.es> 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 1503436340 27273 195.159.176.226 (22 Aug 2017 21:12:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 22 Aug 2017 21:12:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 22 23:12:16 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 1dkGT8-0006iB-Ew for ged-emacs-devel@m.gmane.org; Tue, 22 Aug 2017 23:12:14 +0200 Original-Received: from localhost ([::1]:56854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkGTF-0000ID-3i for ged-emacs-devel@m.gmane.org; Tue, 22 Aug 2017 17:12:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkGST-0000HM-7d for emacs-devel@gnu.org; Tue, 22 Aug 2017 17:11:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkGSO-0004z8-7T for emacs-devel@gnu.org; Tue, 22 Aug 2017 17:11:33 -0400 Original-Received: from [195.159.176.226] (port=44598 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dkGSO-0004ur-0d for emacs-devel@gnu.org; Tue, 22 Aug 2017 17:11:28 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dkGS3-0003ST-Uk for emacs-devel@gnu.org; Tue, 22 Aug 2017 23:11:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 75 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:EmbVHwr2fJ3aTAM0pcOdYwpcToQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:217703 Archived-At: Hi This seems bizarre. I am running Ubuntu 14.04 and GNU emacs 26.0.50.1. I have set the default font to (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:family "DejaVu Sans Mono" :foundry "unknown" :slant normal :weight normal :height 143 :width normal))))) And when I switch to hebrew input the fonts which is used looks quite well in fact it is ,---- | position: 21 of 27 (74%), 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 "C-x 8 RET 5dd" or "C-x 8 RET HEBREW LETTER FINAL MEM" | buffer code: #xD7 #x9D | file code: #xD7 #x9D (encoded by coding system utf-8-unix) | display: by this font (glyph code) | xft:-unknown-DejaVu Sans-normal-normal-normal-*-19-*-*-*-*-0-iso10646-1 (#x533) | | 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 `---- 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? How can I avoid this behavior? Thanks Uwe Brauer