From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Lost antialias? Date: Mon, 16 Jun 2008 10:23:59 +0200 Message-ID: <4856231F.9090305@alice.it> References: <485230EB.9070203@alice.it> <48546807.8010406@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213604690 21283 80.91.229.12 (16 Jun 2008 08:24:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2008 08:24:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 16 10:25:33 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K8A1s-0007VQ-7B for ged-emacs-devel@m.gmane.org; Mon, 16 Jun 2008 10:25:32 +0200 Original-Received: from localhost ([127.0.0.1]:40208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8A13-0002X0-PY for ged-emacs-devel@m.gmane.org; Mon, 16 Jun 2008 04:24:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8A0v-0002WZ-3y for emacs-devel@gnu.org; Mon, 16 Jun 2008 04:24:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8A0r-0002UP-Ns for emacs-devel@gnu.org; Mon, 16 Jun 2008 04:24:32 -0400 Original-Received: from [199.232.76.173] (port=39159 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8A0r-0002U8-IX for emacs-devel@gnu.org; Mon, 16 Jun 2008 04:24:29 -0400 Original-Received: from smtp-out05a.alice.it ([85.33.3.5]:3034) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8A0q-0000L4-Da for emacs-devel@gnu.org; Mon, 16 Jun 2008 04:24:28 -0400 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-OUT05A.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Mon, 16 Jun 2008 10:23:51 +0200 Original-Received: from FBCMCL01B04.fbc.local ([192.168.69.85]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 16 Jun 2008 10:24:23 +0200 Original-Received: from [87.6.212.227] ([87.6.212.227]) by FBCMCL01B04.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 16 Jun 2008 10:24:23 +0200 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: X-OriginalArrivalTime: 16 Jun 2008 08:24:23.0182 (UTC) FILETIME=[61B61AE0:01C8CF8A] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99294 Archived-At: Kenichi Handa ha scritto: > In article <48546807.8010406@alice.it>, Angelo Graziosi writes: > >> I have tried also on Cygwin[1], and the result is different. > >> On Cygwin I have /.Xdefauls: > >> Emacs.FontBackend: xft >> Emacs.font: Bitstream Vera Sans Mono-14 > >> Xft*antialias: true >> Xft*autohint: true > >> The look is fine (better?), but the height is 13 not 14. > > The font size problem is because of the bug introduced by > gtk-style fontname parser as I wrote in the previous mail. > > And I think "fine" means you have antialise font, then > perhaps it's because you use xft backend only. > >> On GNU/Linux Kubuntu 8.04 the result is still 'horrible' with "DejaVu >> Sans Mono-12" and "BitStream Vera Sans Mono", but is fine with >> "Monospace-12". > >> On Kubuntu I do not use /.Xdefaults but I start Emacs as > >> emacs23 --font "DejaVu Sans Mono-12" & > > I see. So, you have "dejavu sans mono" font both by X and > Xft backend. And, as I recently changed the font selector > to prefer a font supplied by a backend of higher priority > (the default order is x,xft on X Window System), you get > "dejavu sans mono" via X backend. When you specify > "monospace" instead, X backend doesn't know about it, but > xft backend knows that it's a generic family name, and your > system assignes "dejavu sans mono" to it. Thus you get > antialias font via xft backend. > > If you never want "dejavu sans mono" font as a X font, just > remove it from your font-path. > > Or, set X resource as 'Emacs*FontBackend: xft, x'. > OK, I will use, on GNU/Linux, Monospace which gives the same result. But on Cygwin, a fresh build (a few minutes ago), still gives height 13 using 'Bitstream Vera Sans Mono-14'? or is this value, I used for months, wrong and now I should set it to 15 to have the same result? Cheers, Angelo.