From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: hebrew: bold face odd when using the monospace font. Date: Fri, 12 Aug 2016 11:03:43 +0600 Message-ID: References: <8737mcqtz6.fsf@mat.ucm.es> <87h9arxggi.fsf@mat.ucm.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1470978269 13929 195.159.176.226 (12 Aug 2016 05:04:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2016 05:04:29 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 12 07:04:25 2016 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 1bY4ds-0003Sc-K3 for ged-emacs-devel@m.gmane.org; Fri, 12 Aug 2016 07:04:24 +0200 Original-Received: from localhost ([::1]:51676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bY4dp-0003P5-EP for ged-emacs-devel@m.gmane.org; Fri, 12 Aug 2016 01:04:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bY4dc-0003MB-3I for emacs-devel@gnu.org; Fri, 12 Aug 2016 01:04:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bY4dZ-000086-NV for emacs-devel@gnu.org; Fri, 12 Aug 2016 01:04:07 -0400 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:38167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bY4dZ-00007W-G8 for emacs-devel@gnu.org; Fri, 12 Aug 2016 01:04:05 -0400 Original-Received: by mail-wm0-x234.google.com with SMTP id o80so8955537wme.1 for ; Thu, 11 Aug 2016 22:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-transfer-encoding; bh=9Tsgy7vg6gfcshPPndqVG4UGmkVyJCOMhh52jZFFibY=; b=mYp3U7KNwPhsYlaUx+KXYcTONseLQH3Sm1PZ2qAvqOseoEZhFrouOgUjIfU+EtvE8N yitspviM4s5dsvPK6AZbUlwBnoOGZ21b+zsS4uSu5VRBDsS6oakSFiVXQtO6B+DEER5L VkHnNsV6ofKlNrtjYRySmlQCd0o8mzhiu6veUb/rWP4HidUrfwhuouzbQwFBVKKUucQd NHNkN2EAxN/z+clrfEJZw2auuwV6uUNWbSx9a/IOKWO7pomfffgCGudQ4pjjsr8hEIUQ llNBVETjU7fN9nI/Vd5eK+u9JoTOyvDap/qMfSaoj8egzqdHEaEK7oKyINvK7OpBX0pC omag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-transfer-encoding; bh=9Tsgy7vg6gfcshPPndqVG4UGmkVyJCOMhh52jZFFibY=; b=IIewtXLlW9uQJV03izdW9gjrsUwLF4opV5xhK/9chrdDCv6s7JGgb22VGHk/7fIaAz h2vYNFvO0ZUbaT1nWh2M1GHMvWlNpTIyxTGnOyrZAiAB5RRh0WGJH02LgmNWAY2dnDIO jE/E6qPS1VBpZVKvymVyYSzDHBLydY1FlalEBle0aGg5wMr/2ktVf6MQ5xx8ZeY5+dEH dS8XzpiAZmcgkA8jTp/ulJscrYswclMaKba7znhxS/1pARR/f7rim+tQTHR1oanu5AKA gYDwxzAHuN5Hx9KGlSPXooiivh/7DDLhDfPyIYEGQRsDTG6w9DF+qC3boeMnib06F3bK sPvQ== X-Gm-Message-State: AEkoouv89+duDoF1EersuJoZ8OuJTF2aSj9UcqtS9YiTQpY6kslbJKVRId+G7vnJd5yW+IGwEV90H0QaXNVqhw== X-Received: by 10.25.159.205 with SMTP id i196mr2178468lfe.45.1470978244299; Thu, 11 Aug 2016 22:04:04 -0700 (PDT) Original-Received: by 10.114.180.131 with HTTP; Thu, 11 Aug 2016 22:03:43 -0700 (PDT) In-Reply-To: <87h9arxggi.fsf@mat.ucm.es> X-Google-Sender-Auth: LKP7tQ6RYlN74QmITd4dzIzclsw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::234 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:206578 Archived-At: On Fri, Aug 12, 2016 at 2:18 AM, Uwe Brauer wrote: > > On Thu, Aug 11, 2016 at 2:55 AM, Uwe Brauer wrote: > >> I usually use the following font > >> > >> (custom-set-faces > >> '(default ((t (:family "DejaVu Sans Mono" :foundry "unknown" :slan= t > >> 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 no= t > > have Hebrew coverage. Pressing C-u C-x =3D on Hebrew text reveals t= hat > > Emacs substitutes DejaVu Sans, which does cover Hebrew and looks ok= in > > bold, but is not monospaced. Depending on your configuration, anoth= er > > 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 =3D on a hebrew mem sofit > > position: 1282 of 1284 (100%), restriction: <64-1285>, colum= n: 3 > character: =D7=9D=E2=80=8E (displayed as =D7=9D=E2=80=8E) (co= depoint 1501, #o2735, #x5dd) [=E2=80=A6] > 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#Fon= tsets 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