zed
zed copied to clipboard
Bitmap emoji fonts do not render
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
Fonts such as the Samsung Emoji font can be selected as fallback fonts, but emoji render as unfilled rectangles rather than displaying the actual emoji glyph. The font in question is a .ttf containing bitmap symbols (fc-query states outline: False(s) and scalable: True(s)). The font is accepted in the font settings and listed in the acceptable values for those settings.
If I install a SVG-based emoji font, such as Noto Emoji, then that font will be used regardless of preferences.
Environment
Zed: v0.149.0 (Zed Dev 6f6eeb65954bb96954522deb330e40b746075ba6) OS: Linux Wayland arch unknown Memory: 15.3 GiB Architecture: x86_64 GPU: Intel(R) Xe Graphics (TGL GT2) || Intel open-source Mesa driver || Mesa 24.1.5-arch1.1
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.
Zed.log
I don't believe this is the same as #12629 because the font in question is a .ttf, but possibly there is some overlap.
I have tried this with many kinds of fonts, and it is consistently broken. We use emojis in markdown docs quite a lot, and my main use-case for using zed would be note taking and markdown editing.
System: Arch Linux, latest + Zed 0.149.3 (installed from arch-extras)
See comparison with Sublime Text
Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days. Thanks for your help!
This bug still reproduces. Stale bots are user-hostile.
The emoji font works on the latest preview version of Zed:
However, I want to choose a favourite emoji font for fallback font. This current text editor is using Noto Emoji font and does not let me pick OpenMoji COLRv0. Other text editor allows me to choose it.
@gusbemacbe for what it's worth, COLRv0 is not a bitmap font, but it does seem likely that the font rendering stack used by Zed might be missing support for it. But that's probably a separate problem considering that the settings do allow the selection of bitmap emoji fonts; they just render incorrectly.
Good morning, @nt8r! Shall I create a separated problem issue here and report this problem?
Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days. Thanks for your help!
At this point, I'm just gonna unsubscribe. VSCode with a dedicated text editor profile is more than capable for my use case.
This bug is still reproducible. Stale bots are still user-hostile.