Skip to content

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

@NN708

Description

@NN708

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ui/fontFont feedback for readability, size, style, etcbugDEPRECATED label: use issue type 'Bug' insteadplatform:linuxhappens only on linux, not other OS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions