From: Yuri Khan <yuri.v.khan@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Re: hebrew: bold face odd when using the monospace font.
Date: Fri, 12 Aug 2016 11:03:43 +0600 [thread overview]
Message-ID: <CAP_d_8XfqU46qdW_1TaESP7crFSKB=Ms=6sE2Ax9x-c0iFHntw@mail.gmail.com> (raw)
In-Reply-To: <87h9arxggi.fsf@mat.ucm.es>
On Fri, Aug 12, 2016 at 2:18 AM, Uwe Brauer <oub@mat.ucm.es> wrote:
> > On Thu, Aug 11, 2016 at 2:55 AM, Uwe Brauer <oub@mat.ucm.es> wrote:
> >> I usually use the following font
> >>
> >> (custom-set-faces
> >> '(default ((t (:family "DejaVu Sans Mono" :foundry "unknown" :slant
> >> normal :weight normal :height 143 :width normal))))))
> >>
> >> Which gives also nice results for Hebrew.
>
> > I find that hard to believe. On my machine DejaVu Sans Mono does not
> > have Hebrew coverage. Pressing C-u C-x = on Hebrew text reveals that
> > Emacs substitutes DejaVu Sans, which does cover Hebrew and looks ok in
> > bold, but is not monospaced. Depending on your configuration, another
> > font may be substituted, possibly one that does not have a bold
> > weight.
>
> I am confused. What do you find hard to believe? My setting? The
> screenshots?
That it is your setting of DejaVu Sans Mono that gives you nice
results for Hebrew. Since this font has no Hebrew coverage, any
results for Hebrew, nice or otherwise, come from programs substituting
another font.
> Here is the result C-u C-x = on a hebrew mem sofit
>
> position: 1282 of 1284 (100%), restriction: <64-1285>, column: 3
> character: ם (displayed as ם) (codepoint 1501, #o2735, #x5dd)
[…]
> display: by this font (glyph code)
> xft:-unknown-DejaVu Sans-normal-normal-normal-*-19-*-*-*-*-0-iso10646-1 (#x533)
So here you are: you get DejaVu Sans, not DejaVu Sans Mono, for Hebrew.
Why Emacs gives you Linux Biolinum Keyboard O for bold is not clear.
You might need to read about fontsets:
https://www.gnu.org/software/emacs/manual/html_node/elisp/Fontsets.html#Fontsets
The unicode-fonts library provides a more user-friendly interface for
configuring font fallback, but may slow down Emacs startup
considerably:
https://www.emacswiki.org/emacs/UnicodeFonts
next prev parent reply other threads:[~2016-08-12 5:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-10 19:55 hebrew: bold face odd when using the monospace font Uwe Brauer
2016-08-11 2:34 ` Eli Zaretskii
2016-08-11 16:02 ` Uwe Brauer
2016-08-11 16:45 ` Eli Zaretskii
2016-08-11 20:17 ` Uwe Brauer
2016-08-12 6:35 ` Eli Zaretskii
2016-08-12 7:59 ` Andreas Schwab
2016-08-12 8:12 ` Uwe Brauer
2016-08-12 9:23 ` Andreas Schwab
2016-08-15 20:51 ` Uwe Brauer
2016-08-11 17:07 ` Yuri Khan
2016-08-11 19:18 ` Uwe Brauer
2016-08-12 5:03 ` Yuri Khan [this message]
2016-08-12 8:07 ` Uwe Brauer
2016-08-16 8:33 ` Yuri Khan
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='CAP_d_8XfqU46qdW_1TaESP7crFSKB=Ms=6sE2Ax9x-c0iFHntw@mail.gmail.com' \
--to=yuri.v.khan@gmail.com \
--cc=emacs-devel@gnu.org \
/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).