From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Font problem on git master Date: Mon, 20 Jan 2020 12:00:49 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="47253"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C4=B0smail_D=C3=B6nmez?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 20 12:12:39 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1itUz1-000C4z-Gw for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jan 2020 12:12:39 +0100 Original-Received: from localhost ([::1]:34384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itUz0-0006MF-Dh for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jan 2020 06:12:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41802) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itUne-0006vP-6c for emacs-devel@gnu.org; Mon, 20 Jan 2020 06:00:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itUnc-0006eO-Qs for emacs-devel@gnu.org; Mon, 20 Jan 2020 06:00:54 -0500 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:37110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itUnc-0006dg-Kq for emacs-devel@gnu.org; Mon, 20 Jan 2020 06:00:52 -0500 Original-Received: by mail-wr1-x42a.google.com with SMTP id w15so29111115wru.4 for ; Mon, 20 Jan 2020 03:00:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=PGqbJE60FV8BJxDe4pJqfxkvnZU2iq6GOznI5Q1wX0Q=; b=HqEjCItnGri1dTcHgGphbN+xYz13PiTLsfgjPcdbW86pwtrX/I63iKctKG1lZ72tsG zV9wcfJMHIvZCUjHhh3dcCmf6tANKNZs7wK73u8x78Xz0G/8bWMUNZiq87Zgg/+uE+vq inLCj/V68trsq/20fp+Mv2qPzW5410wNKggnqa3kePzXM7OtnqbuE5rf9BFjiMgo39aH zcBm97KE31nDI99/9oR+oR5QURiqzh0M7xRdVROh/0r2IWRmFduR2SFbslXlwj5YRF4n Gu7gfsu4ajfDbhszm7+tZZkgnviN24eQ72JVOknb98U8p7C3/YSwxhNxYRcttm02S+Op zfQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=PGqbJE60FV8BJxDe4pJqfxkvnZU2iq6GOznI5Q1wX0Q=; b=k6iD1fBMJ+TwDaEp1W5mSZU1UtDHhm/ZbAvjE0MydeLgb5UnhYDMZqAN3i/oNhXJKE 1AkiAa8jhml53vIAnjaX1TobgGDMTJn4je2DYwuhInNRcVsso9CDjR0XbWyssGeFMmsV TrzfI8p/pHD9II5s1kd4zDbpuV2c8jCzfsATuOparPhvgBsNUARsE8qXfyS5k2em/iJ9 Pycfl8cjNdwwqDd/TMmM6vl5QO/Lqsfn7VjjGUFfK+zUsRwtfGFpsmx63oeO4WxZEmnS jT7sVqL9mUsECzFrq0vqQUYffIy3AlXj1dMFpWqLm9mhkRDsPeHJCsYVFVibrVXHO3zK BjJQ== X-Gm-Message-State: APjAAAXtjN703Od3bQPMxZKyYyVK67r/AazEI0yNLiMFf37bFpzsuqtM o+ECk625PyvLjD70Iqq+Ls6do6R2 X-Google-Smtp-Source: APXvYqykU06B9+rlMHWpwG0xJQoOXYyANnKI6WX4l8Ys+/LwTJoyJ/cXpdsCzwNsYF0++7yYPS++WQ== X-Received: by 2002:a5d:480f:: with SMTP id l15mr17125719wrq.305.1579518050789; Mon, 20 Jan 2020 03:00:50 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id i11sm48398155wrs.10.2020.01.20.03.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2020 03:00:50 -0800 (PST) In-Reply-To: (=?utf-8?Q?=22=C4=B0smail_D=C3=B6nmez=22's?= message of "Mon, 20 Jan 2020 11:45:42 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244407 Archived-At: >>>>> On Mon, 20 Jan 2020 11:45:42 +0100, =C4=B0smail D=C3=B6nmez said: =C4=B0smail> Hi! =C4=B0smail> On Mon, Jan 20, 2020 at 11:39 AM Robert Pluim wrote: >>=20 >> >>>>> On Mon, 20 Jan 2020 11:20:01 +0100, =C4=B0smail D=C3=B6nmez said: >>=20 =C4=B0smail> Hi, =C4=B0smail> Since the switch to cairo, I cannot set any font at all. H= ere is what =C4=B0smail> happens, running >>=20 >> >> emacs -Q >>=20 =C4=B0smail> This gives me a nice mono font which I suspect is the one = set by Gnome =C4=B0smail> (Consolas at pixel size 12) >>=20 >> You can check by doing 'C-u C-x =3D', which will pop up a buffer sho= wing >> what font is being used. =C4=B0smail> It's indeed Consolas, albeit not using the fontconfig synt= ax: =C4=B0smail> "-MS -Consolas-normal-normal-normal-*-19-*-*-*-m-0-iso106= 46-1" You've cut off the bit I was interested in, which is the font backend at the start. >> Hmm, do you have only the bitmapped version of Consolas? =C4=B0smail> Consolas is a TTF only font. And you somehow end up with a non-scaled version? Curious. =C4=B0smail> Also, I used to have the following in my config file: >>=20 =C4=B0smail> (setq default-frame-alist =C4=B0smail> '((font . "Consolas-13:antialias=3Dnatural") =C4=B0smail> (vertical-scroll-bars . nil))) >>=20 =C4=B0smail> which results in "*ERROR*: Font =E2=80=98Consolas-13:antia= lias=3Dnatural=E2=80=99 is not defined" >>=20 =C4=B0smail> This is all on openSUSE Tumbleweed (using Andreas Schwab's= awesome =C4=B0smail> build from https://build.opensuse.org/package/show/home:An= dreasSchwab:emacs:master/emacs) =C4=B0smail> with cairo 1.16.0 >>=20 >> My WAG is that you don=CA=BCt have (m)any scalable fonts installed, = just >> bitmapped ones. =C4=B0smail> That can't be because I have 500+ TTF fonts installed on m= y system. =C4=B0smail> Also, mind you emacs 26 is working just fine. I did say it was a WAG :-) Does not specifying a size and/or removing the 'antialias' spec help? Robert