Add fontconfig bits

This commit is contained in:
Lucas 2019-11-01 02:08:32 +00:00
parent a3ec887fb8
commit 9497ffe6cd
2 changed files with 40 additions and 1 deletions

View File

@ -13,7 +13,7 @@
PREFIX= $(HOME) PREFIX= $(HOME)
DIRS= herbstluftwm DIRS= fontconfig herbstluftwm
install: install:
mkdir -p $(PREFIX)/.config mkdir -p $(PREFIX)/.config

View File

@ -0,0 +1,39 @@
<?xml version="1.0" ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- See LICENSE file for copyright and license details. -->
<fontconfig>
<!-- change default fonts -->
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
<family>M+ 1m</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>DejaVu Sans</family>
<family>M+ 1p</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif</family>
<family>M+ 1p</family>
</prefer>
</alias>
<!-- whitelist bitmaps font -->
<selectfont>
<acceptfont>
<pattern>
<or>
<patelt name="family"><string>bitocra</string></patelt>
<patelt name="family"><string>Fixed</string></patelt>
</or>
</pattern>
</acceptfont>
</selectfont>
</fontconfig>