Skip to content

Commit

Permalink
fix: (temporary solution)the app cannot display normally due to font …
Browse files Browse the repository at this point in the history
…cache

bind /var/cache/fontconfig to container when run app

Log: fix app cannot display normally due to font cache
  • Loading branch information
dengbo11 committed Oct 28, 2024
1 parent c42f5ac commit 27f11f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/generators/90-legacy/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ int main()
{ "/etc/ssl/certs", "/run/host/etc/ssl/certs" },
{ "/etc/ssl/certs", "/etc/ssl/certs" },
{ "/var/cache/fontconfig", "/run/host/appearance/fonts-cache" },
// FIXME: app can not display normally due to missing cjk font cache file,so we need bind
// /var/cache/fontconfig to container. this is just a temporary solution,need to be repaired
// later.
{ "/var/cache/fontconfig", "/var/cache/fontconfig" },
{ "/usr/share/fonts", "/usr/share/fonts" },
{ "/usr/lib/locale/", "/usr/lib/locale/" },
{ "/usr/share/themes", "/usr/share/themes" },
Expand Down

0 comments on commit 27f11f4

Please sign in to comment.