From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.help Subject: Re: Fonts from specified directory Date: Sun, 16 Sep 2018 18:49:50 +0530 Message-ID: <87a7ohfukp.fsf@gmail.com> References: <87o9cxhnea.fsf@gmail.com> Reply-To: "N. Raghavendra" NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1537103909 21179 195.159.176.226 (16 Sep 2018 13:18:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2018 13:18:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 16 15:18:25 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1WwT-0005N1-Bl for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Sep 2018 15:18:25 +0200 Original-Received: from localhost ([::1]:59063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1WyZ-0003Wr-PV for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Sep 2018 09:20:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1Wy0-0003Tz-4w for help-gnu-emacs@gnu.org; Sun, 16 Sep 2018 09:20:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1Wxw-0003Pe-4V for help-gnu-emacs@gnu.org; Sun, 16 Sep 2018 09:20:00 -0400 Original-Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:43180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g1Wxv-0003PD-S1 for help-gnu-emacs@gnu.org; Sun, 16 Sep 2018 09:19:56 -0400 Original-Received: by mail-pl1-x62b.google.com with SMTP id 38-v6so473847plc.10 for ; Sun, 16 Sep 2018 06:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:user-agent:reply-to :mail-followup-to:date:message-id:mime-version :content-transfer-encoding; bh=Gu0ybCOSVCm9P2HXDf5yAE13C7F5wAB6TNpz7boPoEs=; b=q17co09R9XXoWFzKwWK48AJSciiwMJNf/NYrfVn3wsV2jSVTBko6hMpEHVgW+jWVls o7MbtZq6dQHRnpEsVfmVRmVoez4i477xzQSNCYLnCYSGd8yFKNnceseghfGqGC/aT6ki rRJQlRyWY0dt+CadNETnhFRJocbZ/Wd/YwOQgWnNNu0raCqlE40exHDQyDNLw40XSKxp xM0h1yr240Aq7cMqBGGX79SFzCEJSWY1u9O8NGGqrSn0YM+9DZWBByfaZzCmq3Co2cQX 44AtRXDfm5EahgBozIVR3YfIKDnpvEhCj682vY7CSna5Ym88q5B6yEgT62RkZB8sCPAI cl6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:reply-to:mail-followup-to:date:message-id:mime-version :content-transfer-encoding; bh=Gu0ybCOSVCm9P2HXDf5yAE13C7F5wAB6TNpz7boPoEs=; b=DOiV3reY+jWhwr0t+cyfgK9iuIgpzFX9VEUx9XHkTsLTXGvrEZkv4mjr809Bpdzckx xMqR7063Ez4qjq+wasoXM0GkdTfNFNREGmcHFDB+/A/XPKkjkKDvX1UGOBRevBLQuUl+ K95znsUKc6+H99nB8f2z3/V5+4ydtvQCzMcNuysCRY16mFIbDxjHyWc02mQlLmrbZP/E ejmA7GDAuo1TVWn0h9x+gP4XrwJwZiDZjY641Wc1QVQC+yi9l+CCX2ICnnOAfbIuksmx MzFlURt8nQZ28ktuM516pnF8kN4+/D8NzIKNcShDW3Fjmf7LPUIHrNY6KwhUQA36srZV jYCA== X-Gm-Message-State: APzg51BsixjvYCfC8g78S+GToH09ZM/UBaSyNyF3uUWDZ325OjnV6c09 5VyZXYb9d6HwKI1fcu5/77t9tj9R X-Google-Smtp-Source: ANB0VdaSMdP9PQe9S4ikY4jb3epnEaEmFBtya5lTTgiBVSolXhUpY8/tecy/5D0c7F3w5ukeJURlow== X-Received: by 2002:a17:902:8d95:: with SMTP id v21-v6mr20866334plo.213.1537103994639; Sun, 16 Sep 2018 06:19:54 -0700 (PDT) Original-Received: from ailuros ([14.139.59.140]) by smtp.gmail.com with ESMTPSA id z5-v6sm14878315pfh.83.2018.09.16.06.19.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Sep 2018 06:19:54 -0700 (PDT) In-Reply-To: (Yuri Khan's message of "Sun, 16 Sep 2018 16:36:02 +0700") Mail-Followup-To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::62b X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:117938 Archived-At: At 2018-09-16T16:36:02+07:00, Yuri Khan wrote: > On Sun, Sep 16, 2018 at 3:12 PM N. Raghavendra w= rote: > >> Is it possible to configure Emacs to use fonts from a specified >> directory? ... > > On fontconfig/GNU/Linux, font file locations are specified by > /etc/fonts/fonts.conf and configuration files included by it. See =E2=80= =9Cman > fonts-conf=E2=80=9D for details. Thanks for the suggestion. Yes, I can use fontconfig to do it, but it will force the settings on other applications too. I was wondering if one can specify certain font directories just for Emacs. (For example, one can do this with TeX and friends, by setting the environment variable TEXFONTS.) Regards, Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/