From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Luca Ferrari Newsgroups: gmane.emacs.help Subject: cannot load fonts Date: Mon, 11 Apr 2022 15:04:12 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5287"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 11 15:05:52 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ndtjr-0001EK-RV for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 11 Apr 2022 15:05:51 +0200 Original-Received: from localhost ([::1]:40708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndtjq-0004m4-4q for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 11 Apr 2022 09:05:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndtiy-0004ju-SA for help-gnu-emacs@gnu.org; Mon, 11 Apr 2022 09:04:57 -0400 Original-Received: from mail-yw1-x1133.google.com ([2607:f8b0:4864:20::1133]:35286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndtis-0003pP-Sl for help-gnu-emacs@gnu.org; Mon, 11 Apr 2022 09:04:56 -0400 Original-Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-2ebdf6ebd29so93343927b3.2 for ; Mon, 11 Apr 2022 06:04:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=W0rbcsky456oltk/lFYXrpWVxK41gIboLnAbHSfJ12A=; b=COA7+mkQavalS+hizAUds8QeybhvhHOHpBe+62m3v+3ZtessOqUK1T9/j3Ly3rth+3 fpS/LWtH5+mZX3TRcTR0bFb/oUL0oExXInN05vHnHbka49CVTr2y6CORqIReezEOjmPh EbLAejDPDYIh/MJ7lslL7uWZJ41FLrjxjc8TxpE2hzpl08UWDh+dvquqU7/LbBHpvIWf VElIlKUE6hX/Rba2oURYk+iQFF0+bCZG4QbaQFPhByFR6c+1K0r4V7Nq3QMrIxupUREi 52DacEF9JTSfNurynlQ5Kj7gmDB+zT0+C+XbQAms5MYHaL3KMvXp2zHjGL6EniAci8Yx rPGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=W0rbcsky456oltk/lFYXrpWVxK41gIboLnAbHSfJ12A=; b=AIowUxXa8q/Lv+BfUkSs5sRGFpviT0KnqSEut3MzlpkOzbZ1pbnuFQcN7X+yTvzhdX Ct96HX9wjvXSo6b18pfXgp65AiRfHIoi7vE2DNCVcPs6qAiH43y8GlczEjLJRbkzmjJJ JExML5wo83H1Gf9g5MJfv6rOYoVpHa32H2QLBcZDemLuD264UMGTVYgM0wRgI+lIUoM5 A+c9h3lf0/igopeFiGZCRpodmmmF2R7e3mM1r7NZADoV9Uyq2zLHMsK6oASaKN9P2IGO ABtW9DY2VVaoBcPRvzEMKhEbkUmMuxUJ2T5Ua1pmaMXJWUD9tWywln+QPMqo7NMx3Lon 6YAQ== X-Gm-Message-State: AOAM530rSqlyQZXjHui0T6eco29IIfa1Tgd/kKrsVI66xU0fKx5yUwVB Y9XgBBTLUtDbdya4mBMqx0t3BQmz9UwORfhtbAq+XZTaeld4wg== X-Google-Smtp-Source: ABdhPJwMgIkJwxBcZE80131aduPBLoVT/gBG49OOqM7opf6HEbrSscwygsi7iwF+4wE6TH+UKPiC7vxIJBBuxTkZX8I= X-Received: by 2002:a81:1dd4:0:b0:2dc:1bf:fb9d with SMTP id d203-20020a811dd4000000b002dc01bffb9dmr25796403ywd.69.1649682288995; Mon, 11 Apr 2022 06:04:48 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::1133; envelope-from=fluca1978@gmail.com; helo=mail-yw1-x1133.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136901 Archived-At: Hi all, I've compiled Emacs 28.1 without any particular option on Ubuntu 20.04. Then I've placed the following in my startup file: (set-frame-font "Source Code Pro") (set-face-attribute 'default nil :font "Source Code Pro" :height 140) (set-face-font 'default "Source Code Pro") However, when Emacs starts, it prints me a warning message and the font is not loaded: Warning (initialization): An error occurred while loading =E2=80=98/home/luca/.emacs.d/init.el=E2=80=99: error: Font not available, # but the fonts are there: % fc-list | grep SourceCodePro /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-Regular.otf: Source Code Pro:style=3DRegular /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-Light.otf: Source Code Pro,Source Code Pro Light:style=3DLight,Regular /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-It.otf: Source Code Pro:style=3DItalic /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-ExtraLightIt.otf: Source Code Pro,Source Code Pro ExtraLight:style=3DExtraLight Italic,Italic /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-Medium.otf: Source Code Pro,Source Code Pro Medium:style=3DMedium,Regular /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-ExtraLight.otf: Source Code Pro,Source Code Pro ExtraLight:style=3DExtraLight,Regular /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-SemiboldIt.otf: Source Code Pro,Source Code Pro Semibold:style=3DSemibold Italic,Italic /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-MediumIt.otf: Source Code Pro,Source Code Pro Medium:style=3DMedium Italic,Italic /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-LightIt.otf: Source Code Pro,Source Code Pro Light:style=3DLight Italic,Italic /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-BlackIt.otf: Source Code Pro,Source Code Pro Black:style=3DBlack Italic,Italic /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-Bold.otf: Source Code Pro:style=3DBold /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-BoldIt.otf: Source Code Pro:style=3DBold Italic /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-Semibold.otf: Source Code Pro,Source Code Pro Semibold:style=3DSemibold,Regular /usr/share/fonts/adobe-sourcecodepro/SourceCodePro-Black.otf: Source Code Pro,Source Code Pro Black:style=3DBlack,Regular What am I missing here? Thanks, Luca