From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Font problem on git master Date: Mon, 20 Jan 2020 10:22:24 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="6879"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: =?euc-jp?Q?=8F=AA=C4smail_D=8F=AB=D3nmez?= , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 20 19:25:57 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 1itbkL-0001dI-DA for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jan 2020 19:25:57 +0100 Original-Received: from localhost ([::1]:42588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itbkK-0003kk-ER for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jan 2020 13:25:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56652) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itbgz-0007sW-FG for emacs-devel@gnu.org; Mon, 20 Jan 2020 13:22:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itbgy-0008US-DC for emacs-devel@gnu.org; Mon, 20 Jan 2020 13:22:29 -0500 Original-Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:39517) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itbgy-0008U2-5i for emacs-devel@gnu.org; Mon, 20 Jan 2020 13:22:28 -0500 Original-Received: by mail-pl1-x634.google.com with SMTP id g6so184655plp.6 for ; Mon, 20 Jan 2020 10:22:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=3Kb7UOE+nJFA/TkDJHqo6efU4W5eLWF9+krW3roUvkc=; b=pNeiWlKxxGvstyOORrqARh4RaMT1hWJ4oCUrxf7Xef6gWR9kFVKPOiFKAJNFiKNrKh lU2lx9W4FwDoIXhr//O3HE5t4xf54uatr+OrGa0lfZTFd+fcea2oEuSGz8d4yL8dPU90 nxfrc5WjTSxd09gpb3wouVmX4zGHNZIQJ8CXyvOPvYEpB+drgNbG6lDU7mNxx1k5yd75 RZ4ERmDTF+t8c9lwyEzApwM97NwNniEaGqbqPrVLfZsXKmR4BH7KNvdDWq1qgB6GqVmj yMOYoRylUrxVid1tO6IzMiWtSkrP7j5Qn91FLsGCRsQjP1AGu24eGO0IHKfu1mUoqzG6 VB3w== 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:user-agent:mime-version:content-transfer-encoding; bh=3Kb7UOE+nJFA/TkDJHqo6efU4W5eLWF9+krW3roUvkc=; b=O2c4mklsk9Gmptp+lz4Poha1vXu9KpcqDoOGP4A5RU8wpPL+FYiAZ0At5KZHDBarWW fpEB0vCSb/MvKIcW/F/9MXyZR1mFYKxOphQf9AKUlgJTN9PKQCKwOB656KzWkQCAuZgY HM8oaU6KYDxCSflMV/10PZpxpYbuI8kZ/h+72aRU3Zq0/jGTZ8gsf8NiTclfDErsEAmK nkpnnWxmGnu6F5OpfxVQE/Qy/4xR6FC+vpoqQw4GrGDfqtXdkV0mlT5KYP5WDG1zxGTd hI/tXJtC0NeGGpQTdzFN5hwkVgQRVv8U/R+fWiO4V+L51BV2AGm3t3vqKoNzOzZpbwYc eCsg== X-Gm-Message-State: APjAAAWPfkMOjSDpn0QAWyu8wPRIM0A9KfpyR4fQcZ4alru1wucz8vI+ eJ1e1w29AO//ia2Z1iVlcsvvEg== X-Google-Smtp-Source: APXvYqwwc1C+REZNAb3SneppjBrdnWf3YQqPuWe9xb5Pvq3ceXXwx3S/8ErRBI+V5sW1br57eZsPOA== X-Received: by 2002:a17:90a:1b66:: with SMTP id q93mr306740pjq.102.1579544546506; Mon, 20 Jan 2020 10:22:26 -0800 (PST) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id l186sm38567034pge.31.2020.01.20.10.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2020 10:22:25 -0800 (PST) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id 17927C2155D; Mon, 20 Jan 2020 10:22:24 -0800 (PST) In-Reply-To: (T. V. Raman's message of "Mon, 20 Jan 2020 07:27:52 -0800") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::634 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:244434 Archived-At: "T.V Raman" writes: correction: earlier Xresources did not include ftcrhb as a font back-end which is what caused the error. I found the right value ftcrhb,ftcr,x from the elisp info manual -- it's documented in frame.texi found by grepping the git logs. The > Robert Pluim writes: > I ran into a similar issue over the weekend after building emacs from > Git. > > I had inherited these lines in .Xresources from way back: > Emacs.FontBackend: ftcrhb,xft,x > Emacs*font: -adobe-Utopia-normal-normal-normal-*-*-*-*-*-*-0-iso10646-1 > > After the update/build, emacs refused to start in GUI mode, -- emacs -nw > worked, and it displayed the font backend error when started as emacs > under X. > > I worked around the problem by commenting out the emacs.font line and it > started with Adobe Courier. > > This morning, I updated the font backend line as suggested by you, and > now I get over 3,000+ fonts -- and uncommenting the Adobe Utopia line > does not cause the error. > > Could we update the News file with details on what font backends are > now recommended? > > >>>>>>> On Mon, 20 Jan 2020 14:52:34 +0100, Robert Pluim = said: >> Robert> If all else fails, can you run 'strace emacs' with your norm= al config >> Robert> to see if it=810=B63s loading some site-specific configurati= on files? Those >> Robert> might be messing with the font setup. >> >> In fact, looking through Andreas' package repo, I see it includes an >> app-defaults.Emacs that does: >> >> Emacs.FontBackend: xft,x >> >> which is going to cause problems on a cairo-enabled build. Is it >> possible for you to remove that setting, or try something like >> >> Emacs.FontBackend: ftcrhb,xft,x >> >> or >> >> Emacs.FontBackend: ftcrhb,x >> >> >> Robert >> --=20