~protesilaos/dotfiles

fontconfig: use strong alias binding--- v1 PROPOSED

Juanjo Presa: 1
 fontconfig: use strong alias binding---

 1 files changed, 3 insertions(+), 3 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~protesilaos/dotfiles/patches/32414/mbox | git am -3
Learn more about email & git

[PATCH] fontconfig: use strong alias binding--- Export this patch

Hi Prot, I just discover your user fontconfig config is not strong
enough to replace some OS (NixOS) fontconfig defaults. I research the
problem and have found this solution. For reference:
https://bbs.archlinux.org/viewtopic.php?pid=1867659#p1867659
I hope you found the solution good enough to merge in your codebase.
Regards,

---
 fontconfig/.config/fontconfig/conf.d/60-latin.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fontconfig/.config/fontconfig/conf.d/60-latin.conf b/fontconfig/.config/fontconfig/conf.d/60-latin.conf
index fc7278e0..4b6d02e9 100644
--- a/fontconfig/.config/fontconfig/conf.d/60-latin.conf
+++ b/fontconfig/.config/fontconfig/conf.d/60-latin.conf
@@ -7,7 +7,7 @@

  <description>Set preferable fonts for Latin</description>

  <alias>
  <alias binding="strong">
    <family>serif</family>
    <prefer>
      <family>Noto Serif</family>
@@ -17,7 +17,7 @@
      <family>DejaVu Serif</family>
    </default>
  </alias>
  <alias>
  <alias binding="strong">
    <family>sans-serif</family>
    <prefer>
      <family>FiraGO</family>
@@ -29,7 +29,7 @@
      <family>DejaVu Sans</family>
    </default>
  </alias>
  <alias>
  <alias binding="strong">
    <family>monospace</family>
    <prefer>
      <!-- My custom build of Iosevka has a "wide" variant that I
-- 
2.33.3



-- 
Juanjo Presa
https://nadanix.com
Hello there!
> From: Juanjo Presa <juanjo.presa@nadanix.com>
> Date: Fri, 20 May 2022 11:18:20 +0200
> 
> Hi Prot, I just discover your user fontconfig config is not strong
> enough to replace some OS (NixOS) fontconfig defaults.
What exactly is the issue you have encountered?  These have worked fine
for me on Debian and now on Arch (probably for more than 3 years).
Maybe Nix does something differently?  Or maybe some settings' daemon is
misbehaving?