Skip to content

Commit

Permalink
fix: Linux - Allow override of Vera (#89)
Browse files Browse the repository at this point in the history
Load the 56-twemoji-color.conf font config file before loading the the
50-user.conf user preferences file made by gnome-tweak-tool.

ref:
#21 (comment)

For #21 - May fix, TBD, needs additional user testing.
Thanks @piboulet

Co-authored-by: rany <31795451+rany0@users.noreply.github.com>
  • Loading branch information
13rac1 and rany authored Jun 21, 2021
1 parent 697fdc1 commit 271fc9f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion linux/debian/install
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
TwitterColorEmoji-SVGinOT.ttf usr/share/fonts/truetype/emoji
fontconfig/56-twemoji-color.conf etc/fonts/conf.avail
fontconfig/46-twemoji-color.conf etc/fonts/conf.avail
2 changes: 1 addition & 1 deletion linux/debian/links
Original file line number Diff line number Diff line change
@@ -1 +1 @@
etc/fonts/conf.avail/56-twemoji-color.conf etc/fonts/conf.d/56-twemoji-color.conf
etc/fonts/conf.avail/46-twemoji-color.conf etc/fonts/conf.d/46-twemoji-color.conf
File renamed without changes.
2 changes: 1 addition & 1 deletion linux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [ -f $FONTCONFIG/fonts.conf ];then
cp $FONTCONFIG/fonts.conf $FONTCONFIG/fonts.bak
fi
# Install fonts.conf
cp fontconfig/56-twemoji-color.conf $FONTCONFIG/conf.d/
cp fontconfig/46-twemoji-color.conf $FONTCONFIG/conf.d/

echo "Clearing font cache"
fc-cache -f
Expand Down
2 changes: 1 addition & 1 deletion linux/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fi
FONTCONFIG=$HOME/.config/fontconfig

rm $XDG_DATA_HOME/fonts/TwitterColorEmoji-SVGinOT.ttf
rm $FONTCONFIG/conf.d/56-twemoji-color.conf
rm $FONTCONFIG/conf.d/46-twemoji-color.conf

echo "Clearing font cache"
fc-cache -f
Expand Down

0 comments on commit 271fc9f

Please sign in to comment.