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

Unable to Display Host Fonts When Running in Flatpak Sandbox #20026

Open
1 task done
NN708 opened this issue Oct 31, 2024 · 1 comment
Open
1 task done

Unable to Display Host Fonts When Running in Flatpak Sandbox #20026

NN708 opened this issue Oct 31, 2024 · 1 comment
Labels
bug [core label] font Font feedback for readability, size, style, etc linux

Comments

@NN708
Copy link

NN708 commented Oct 31, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Despite fc-list showing that host fonts such as Noto Sans CJK SC are available within the Flatpak sandbox, Zed is unable to display these fonts, resulting in tofu characters.

$ fc-list
...
/run/host/fonts/opentype/noto/NotoSansCJK-Regular.ttc: Noto Sans CJK SC:style=Regular
...

Screenshot

Steps to Reproduce

  1. Install Zed from Flathub.
  2. Disable Flatpak sandbox escape using flatpak override --user dev.zed.Zed --env=ZED_FLATPAK_NO_ESCAPE=1.
  3. Launch the application and input CJK characters or emojis.

Environment

Zed: v0.159.5 (Zed)
OS: Linux Wayland org.freedesktop.platform 24.08
Memory: 11.4 GiB
Architecture: x86_64
GPU: Intel(R) Graphics (ADL-N) || Intel open-source Mesa driver || Mesa 24.2.5 (git-3b9fcb7e4d)

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

No response

@NN708 NN708 added admin read bug [core label] labels Oct 31, 2024
@notpeter notpeter added linux font Font feedback for readability, size, style, etc and removed triage labels Oct 31, 2024
@NN708
Copy link
Author

NN708 commented Nov 14, 2024

This issue may have been fixed in the upstream repository via servo/font-kit#256. Could you please update this module to include those changes and test it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] font Font feedback for readability, size, style, etc linux
Projects
No open projects
Status: No status
Development

No branches or pull requests

3 participants