emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hebrew: bold face odd when using the monospace font.


From: Yuri Khan
Subject: Re: hebrew: bold face odd when using the monospace font.
Date: Fri, 12 Aug 2016 11:03:43 +0600

On Fri, Aug 12, 2016 at 2:18 AM, Uwe Brauer <address@hidden> wrote:

>     > On Thu, Aug 11, 2016 at 2:55 AM, Uwe Brauer <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]