From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Fonts from specified directory Date: Sun, 16 Sep 2018 20:40:00 +0700 Message-ID: References: <87o9cxhnea.fsf@gmail.com> <87a7ohfukp.fsf@gmail.com> 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 1537105171 23217 195.159.176.226 (16 Sep 2018 13:39:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2018 13:39:31 +0000 (UTC) To: nyraghu27132@gmail.com, help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 16 15:39:26 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 1g1XGn-0005vT-SX for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Sep 2018 15:39:26 +0200 Original-Received: from localhost ([::1]:59116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1XIu-0008TY-5I for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Sep 2018 09:41:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1XHd-0007vY-8P for help-gnu-emacs@gnu.org; Sun, 16 Sep 2018 09:40:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1XHb-0004L8-Vk for help-gnu-emacs@gnu.org; Sun, 16 Sep 2018 09:40:16 -0400 Original-Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]:39512) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g1XHb-0004JH-Q3 for help-gnu-emacs@gnu.org; Sun, 16 Sep 2018 09:40:15 -0400 Original-Received: by mail-ot1-x32a.google.com with SMTP id c12-v6so8774355otl.6 for ; Sun, 16 Sep 2018 06:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=2qrvsmrdq1heDpvUR/QT0t2i7Qh9CObCFbD0fT0OsY0=; b=YTZww/5c6ChurlGNtH4wmQ72HijghxP5xYFCWsM9XfAmLVZgsKbQ0gKK9L6CsMYJHf XVPgJKTu3eq/BZaXhIGy8JeAPk0doZUWTKx5+hMU7PSJjjUVVQT5TN5QgJUYF+SjZEIt 9SDw5S4McLjzfr5ZtXNuEs1Xf8/vA95LYGgk7s+sdyqDoCHd5jarempRb9n74LeufOna mXZUNspGpkrzUUuKblSoGKZdZGaugCVz0I7bdLaJIlRLMIbzNipwL5c6NVQUcufwSVW+ yCugGVlqR1lj3BfhP1RQtdd2k6pAXWPpEQCskIm6fehwk5ynIMIa6hklQ0DV797nMuUC xRPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=2qrvsmrdq1heDpvUR/QT0t2i7Qh9CObCFbD0fT0OsY0=; b=lsGcljusQawWNQRwRNXBQZ9H71U9rAm6whQ5VdwfBCiT36PX9C4I48lOnYGNFKJNNX R9hgpcBYFcrJTvHJJQkabccfy6fRjtQqwL4AxUg32yjIGTid/f8apuZ/QLzg85oKecms 1twR5HSh9BdnE6Dr6q7t528w9S2aY9OF0pd45j38K7Cv51FISL/v7Uqt9pVjKmqPFU9z dYyPIAtjVVe2O7LldoPvKIVvvNSs/3WsD27AV8DQ9XcC2/sJKxCwSrgCdGVcLcQlhBlp 59u+ipA6AZh6FbvlY87n+pjNlqa2n/Offl9do3l8PqdwjwxebMdcG8OmStyImRy/J/f4 ChAw== X-Gm-Message-State: APzg51B99yn7VJNgpYZb5kRvwr/yuthdz9gw8rEr2fi6+Js9hrlYEin1 /LIrtzICJA5tCE7TyzlD9QORT6PE/H4p8ZOETV8= X-Google-Smtp-Source: ANB0VdYQFNhWjxvUxkYlxw2+0dfuxfY30VN9jabbiwAbip5r1jaIcKb4fGVqRaA/XuzPGTgAY7YOo2Ag1IMgUocAlJw= X-Received: by 2002:a9d:2d24:: with SMTP id v33-v6mr9628515ota.174.1537105213475; Sun, 16 Sep 2018 06:40:13 -0700 (PDT) In-Reply-To: <87a7ohfukp.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::32a 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:117940 Archived-At: On Sun, Sep 16, 2018 at 8:20 PM N. Raghavendra wro= te: > > 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.) Why would you want to use updated fonts in Emacs but an older version in other applications? Anyway, try making a custom font configuration file to the lines of /etc/fonts/fonts.conf /foo/dejavu and starting Emacs with the FONTCONFIG_FILE environment variable pointing at that.