unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-devel@gnu.org
Subject: Re: which hebrew fonts are chosen? Changed after some private truetype fonts were added
Date: Sat, 26 Aug 2017 12:12:24 +0300	[thread overview]
Message-ID: <83shge66br.fsf@gnu.org> (raw)
In-Reply-To: <87ziarwbo5.fsf@mat.ucm.es> (message from Uwe Brauer on Tue, 22 Aug 2017 21:11:06 +0000)

> From: Uwe Brauer <oub@mat.ucm.es>
> 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.



  reply	other threads:[~2017-08-26  9:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 21:11 which hebrew fonts are chosen? Changed after some private truetype fonts were added Uwe Brauer
2017-08-26  9:12 ` Eli Zaretskii [this message]
2017-08-26  9:23   ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83shge66br.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=oub@mat.ucm.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).