Skip to content

Commit

Permalink
fix(extensions): stop fontconfig from loading from host’s /etc/fonts/…
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarhj authored Sep 21, 2023
1 parent 93867b6 commit 7877ca5
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 @@ -307,9 +307,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 7877ca5

Please sign in to comment.