* which hebrew fonts are chosen? Changed after some private truetype fonts were added
@ 2017-08-22 21:11 Uwe Brauer
2017-08-26 9:12 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Brauer @ 2017-08-22 21:11 UTC (permalink / raw)
To: emacs-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: which hebrew fonts are chosen? Changed after some private truetype fonts were added
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
2017-08-26 9:23 ` Uwe Brauer
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2017-08-26 9:12 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-devel
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-08-26 9:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2017-08-26 9:23 ` Uwe Brauer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.