Open jwnhy opened 3 hours ago
I think a better solution is to bind mount the users fonts like we already do with the locales @ivan-hc
it is enough to add this line to the AppRun
--bind-try /usr/share/fonts /usr/share/fonts
the AppRun should look like this then
#!/bin/sh
HERE="$(dirname "$(readlink -f "${0}")")"
export UNION_PRELOAD="${HERE}"
"${HERE}"/conty.sh --bind-try /usr/share/fonts /usr/share/fonts steam-screensaver-fix-runtime "$@"
@Samueru-sama however, some windows programs or games may not find the correct font if not installed on the host.
What do you think about?
Thanks! Glad to see there is a general solution!
@jwnhy can you try doing what Ivan suggested? the steps are:
./Steam-1.0.0.81-2-3-x86_64.AppImage --appimage-extract
Then edit ./squasfs-root/AppRun
to look like what Ivan pasted:
#!/bin/sh
HERE="$(dirname "$(readlink -f "${0}")")"
export UNION_PRELOAD="${HERE}"
"${HERE}"/conty.sh --bind-try /usr/share/fonts /usr/share/fonts steam-screensaver-fix-runtime "$@"
And finally run the AppRun from the terminal ./AppRun
Let me know if the font issue gets fixed.
It seems that this arch-chroot only bundles in Latin-based (not sure if this is the correct wordy) font and does not include CJK fonts, e.g., wqy-microhei.
This causes problems if the game relies on such font, e.g., RimWorld relies on wqy-microhei.
My current fix is to fork my version and add two packages in the script, wqy-zenhei and wqy-microhei. (it didn't increase the final blob size)
I wonder if you want to merge this, as this is specific to Chinese...
If this can include a minimal set of fonts for most languages, that would be splendid.