fwupd: UEFI-capsule update cannot render CJK chars

Summary

fwupd generates a bunch of images containing pre-rendered messages ("Installing Firmware Update...") translated and rendered using a system font. However, CJK characts show up as tofu

How to Reproduce

  1. Look in /usr/share/fwupd/uefi-capsule-ux.tar.xz
  2. See tofu in some of the images

Version Information

Output from updatectl status:

N/A

Other Relevant Information

I think we can fix this by just putting the CJK fonts in fwupd's build env. But gotta check out

Also should investigate how fwupd even decides which language to display. Does carbonOS support this?

Edited by Adrian Vovk