From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.help Subject: Re: set-face-font and custom-set-font, DejaVu, fonts for hebrew Date: Sat, 08 Aug 2015 08:20:24 +0000 Message-ID: <87zj229oon.fsf@mat.ucm.es> References: <87oaj1zets.fsf@mat.ucm.es> <83bnf12zm8.fsf@gnu.org> <87k2t735nv.fsf@mat.ucm.es> <837fp7sdh1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439022062 27433 80.91.229.3 (8 Aug 2015 08:21:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Aug 2015 08:21:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 08 10:20:54 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZNzN7-00007l-St for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Aug 2015 10:20:54 +0200 Original-Received: from localhost ([::1]:52270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNzN7-00029T-4z for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Aug 2015 04:20:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNzMr-00029M-Lx for help-gnu-emacs@gnu.org; Sat, 08 Aug 2015 04:20:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNzMo-0006sB-7n for help-gnu-emacs@gnu.org; Sat, 08 Aug 2015 04:20:37 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:56079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNzMn-0006qy-Oj for help-gnu-emacs@gnu.org; Sat, 08 Aug 2015 04:20:34 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZNzMl-0008Hj-F5 for help-gnu-emacs@gnu.org; Sat, 08 Aug 2015 10:20:31 +0200 Original-Received: from 2.160.113.108 ([2.160.113.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Aug 2015 10:20:31 +0200 Original-Received: from oub by 2.160.113.108 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Aug 2015 10:20:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 2.160.113.108 Mail-Copies-To: never User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:dQKt3pbHfkBVr68sFg6DXzGXjVY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106351 Archived-At: > Uwe Brauer writes: > It doesn't and that font is not bold. > This is a bold font: > (set-face-font 'default "DejaVu Sans Mono-14:bold") > (set-face-font 'default "DejaVu Sans Mono-14") Thanks, but in my environment (set-face-font 'default "DejaVu Sans Mono-12:bold") gives the font in 12pt with very thin letters while (set-face-font 'default "DejaVu Sans Mono-14") gives a larger font, with thicker letters and (set-face-font 'default "DejaVu Sans Mono-14:bold") with still thicker letters. That is a bit confusing. So it boils down to: what is the equivalent of (custom-set-faces '(default ((t (:family "DejaVu Sans Mono" :foundry "unknown" :slant normal :weight normal :height 143 :width normal))))) Using set-face-font? Thanks Uwe