unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: "Todor Kondić" <tk.code@protonmail.com>,
	"help-guix\\@gnu.org" <help-guix@gnu.org>
Subject: Re: Fonts do not work with multiple profiles (fontconfig) and a proposed workaround
Date: Wed, 30 Sep 2020 09:59:03 +0200	[thread overview]
Message-ID: <87tuvfy9tk.fsf@ambrevar.xyz> (raw)
In-Reply-To: <F1I9afyPO1ownvrS4PzLmUWXiopRyvVPyD0oHZN2MdqVeWHPCEKK2M3r-UUr3yxSqwnlxkqg0nJbcMwNUCISnF-Ikncn8hmL6doRQeX0cnQ=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

Hi Todor,

Indeed, this workaround does the trick.
Here is my ~/.config/fontconfig/fonts.conf:

--8<---------------cut here---------------start------------->8---
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>
<dir>~/.guix-extra-profiles/emacs/emacs/share/fonts</dir>
</fontconfig>
--8<---------------cut here---------------end--------------->8---

Packages' content is static, it is not modifier upon install, which is
why the default  etc/fonts/fonts.conf is pointing to constant locations.

The solution to this bug, I believe, would be to add a post-install
hook that generates the fonts.conf file with the right entries.

Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

  reply	other threads:[~2020-09-30  7:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-29 14:30 Fonts do not work with multiple profiles (fontconfig) and a proposed workaround Todor Kondić
2020-09-30  7:59 ` Pierre Neidhardt [this message]
2020-09-30  8:21   ` Todor Kondić
2020-12-17 20:41     ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuvfy9tk.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=help-guix@gnu.org \
    --cc=tk.code@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).