Skip to content

Commit 6b76ece

Browse files
committed
fix: add local.conf
Adds local.conf and copies it in texml.sh, based on a post on tex.SE.
1 parent 8871864 commit 6b76ece

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

local.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3+
<fontconfig>
4+
<dir>/usr/local/texlive/2023/texmf-dist/fonts/opentype</dir>
5+
<dir>/usr/local/texlive/2023/texmf-dist/fonts/truetype</dir>
6+
<dir>~/.fonts</dir>
7+
</fontconfig>

texml.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ apt install -y texlive \
2828
mkdir -p "$HOME/texmf"
2929
cp -r ./fonts/ "$HOME/texmf"
3030
cp -r ./fonts/ "$HOME"
31-
ls "$HOME/texmf"
31+
cp ./local.conf /etc/fonts/local.conf
3232
texhash --version
3333
texhash "$HOME/texmf"
3434
texhash ./fonts

0 commit comments

Comments
 (0)