aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-27 14:51:12 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-27 14:51:12 +0100
commit4905fb474a2d768e78b34029d443de0bf12a11f9 (patch)
treef1be3c70a1835c3f5db0f71085d521af1c9881b8
parente2a1352c5abf7a55d277cd9c28155626228c4790 (diff)
add fontconfig .d files
-rw-r--r--.config/fontconfig/conf.d/10-inter-features.conf14
-rw-r--r--.config/fontconfig/conf.d/10-sub-pixel-rgb.conf8
2 files changed, 22 insertions, 0 deletions
diff --git a/.config/fontconfig/conf.d/10-inter-features.conf b/.config/fontconfig/conf.d/10-inter-features.conf
new file mode 100644
index 0000000..5a641d6
--- /dev/null
+++ b/.config/fontconfig/conf.d/10-inter-features.conf
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
+<fontconfig>
+ <description>Enable font features for Inter</description>
+ <match target="font">
+ <test name="family" compare="eq" ignore-blanks="true">
+ <string>Inter</string>
+ </test>
+ <edit name="fontfeatures" mode="append">
+ <string>ss07 on</string> <!-- Square punctuation -->
+ <string>ss08 on</string> <!-- Square quotes -->
+ </edit>
+ </match>
+</fontconfig>
diff --git a/.config/fontconfig/conf.d/10-sub-pixel-rgb.conf b/.config/fontconfig/conf.d/10-sub-pixel-rgb.conf
new file mode 100644
index 0000000..fcd51f3
--- /dev/null
+++ b/.config/fontconfig/conf.d/10-sub-pixel-rgb.conf
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
+<fontconfig>
+ <description>Enable sub-pixel font rendering</description>
+ <match target="pattern">
+ <edit name="rgba" mode="append"><const>rgb</const></edit>
+ </match>
+</fontconfig>