Skip to content

Commit

Permalink
Stop fontconfig from loading from host’s /etc/fonts/conf.d
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarhj authored Jul 4, 2023
1 parent fc985d4 commit 723c715
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions extensions/desktop/common/desktop-exports
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,6 @@ function make_user_fontconfig {
echo " <dir>${data_dirs_array[$i]}/fonts</dir>"
fi
done
# fix font render for modified fonts, that discussed on Snapcraft Forum:
# https://forum.snapcraft.io/t/snap-package-cannot-read-fonts-conf/16657
echo ' <include ignore_missing="yes">/etc/fonts/conf.d</include>'
echo ' <include ignore_missing="yes">conf.d</include>'
# We need to include a user-writable cachedir first to support
# caching of per-user fonts.
Expand Down

0 comments on commit 723c715

Please sign in to comment.