Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix font render for modified fonts #213

Merged
merged 5 commits into from Sep 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions common/desktop-exports
Expand Up @@ -281,7 +281,11 @@ 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>'
xlmnxp marked this conversation as resolved.
Show resolved Hide resolved
echo ' <include ignore_missing="yes">conf.d</include>'

# We need to include this default cachedir first so that caching
# works: without it, fontconfig will try to write to the real user home
# cachedir and be blocked by AppArmor.
Expand Down