summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2022-11-06 10:37:42 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2022-11-06 10:37:42 +0000
commit6d1b081767563ddebaf65a63e88288053f6be239 (patch)
tree72489a84b641c177e15b63bdc0b2dc2f6c492838 /dist
parent69a18b22c1232a6cbb30791365312aac73d173aa (diff)
Add a local configuration file to put back the DejaVu family as
default for the latin fonts, replacing Noto which is the default upstreams since fontconfig 2.14. One can get back Noto as default by removing /etc/fonts/conf.d/59-obsd-latin.conf Prodded by robert@ and others, ok robert@
Diffstat (limited to 'dist')
-rw-r--r--dist/fontconfig/conf.d/59-latin-obsd.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/dist/fontconfig/conf.d/59-latin-obsd.conf b/dist/fontconfig/conf.d/59-latin-obsd.conf
new file mode 100644
index 000000000..ce1afd47e
--- /dev/null
+++ b/dist/fontconfig/conf.d/59-latin-obsd.conf
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
+<fontconfig>
+ <description>On OpenBSD Set DejaVu as preferable fonts for Latin over other choices in 60-latin.conf</description>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>DejaVu Serif</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>DejaVu Sans</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>DejaVu Sans Mono</family>
+ </prefer>
+ </alias>
+</fontconfig>
+