[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fonts do not work with multiple profiles (fontconfig) and a proposed
From: |
Maxim Cournoyer |
Subject: |
Re: Fonts do not work with multiple profiles (fontconfig) and a proposed workaround |
Date: |
Thu, 17 Dec 2020 15:41:27 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi,
Todor Kondić <tk.code@protonmail.com> writes:
>> 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!
I think a proper fix would be contributing a patch to fontconfig so that
it honors XDG_DATA_DIRS to lookup its fonts.
Any takers?
Maxim
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Fonts do not work with multiple profiles (fontconfig) and a proposed workaround,
Maxim Cournoyer <=