| Summary: | Add support for UTF8 Emoji characters in kate | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Martin <martin.monperrus> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | kare.sars |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Martin
2019-11-28 17:37:58 UTC
Have you also selected the Noto font in Kate? I'm using the Hack font in NEON (ubuntu 18.04 + latest KDE packages) and I can see the emoji... Thanks KÃ¥re. If I select "Noto Color Emoji" as default font, the emojis are displayed but the normal letters are ugly. Since NotoColorEmoji.ttf does not contain letters, where are taken the letter characters? There is a fallback mechanism that tries fonts until there is a font that contains the needed character. This priority order is set by the system, and nothing Kate can influence. The font fallback priority order is probably modifiable in the systems font configuration, but I have not investigated how to change it. > There is a fallback mechanism that tries fonts until there is a font that contains the needed character.
Interesting. The question is then why the Noto Color Emoji is not considered as fallback when 🧲 is not found in the standard font.
Any pointer on how to debug this fallback order would be super useful.
Unfortunately I don't know anything more than what you get by googling for font-substitution, fallback fonts and fontconfig What's strange is that other apps (terminator, gedit) have a correct fallback for emojis. The problem is specific to kate (or maybe KDE apps), I guess it uses fontconfig differently. |