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

Country flag emojis are not displayed correctly #4025

Closed
dashezup opened this issue Jul 24, 2020 · 1 comment
Closed

Country flag emojis are not displayed correctly #4025

dashezup opened this issue Jul 24, 2020 · 1 comment

Comments

@dashezup
Copy link

dashezup commented Jul 24, 2020

System

OS: Void Linux
Version: alacritty 0.4.3
Linux/BSD: Wayland, Swaywm
Font: Fira Code, Apple Color Emoji

fontconfig

~/.config/fontconfig/fonts.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <alias>
    <family>foobar</family>
    <prefer>
      <family>Fira Code</family>
      <family>Apple Color Emoji</family>
     </prefer>
  </alias>
</fontconfig>

I have set font family to foobar in alacritty.yml, most of other emojis are displayed correctly except country flags emoji, I have also tried with Liberation Mono / DejaVu Sans + Noto Color Emoji, both can't display country flag character correctly.

Seems country flags has two characters, I guess this could be related, some flags such like Crossed Flags are rendered correctly.

List of flags emoji on Emojipedia

Screenshots

image_2020-07-24_11-13-04

I have also tried alacritty on macOS Catalina, installed by using brew, got similar result.

tg_image_929287869

@dashezup dashezup changed the title Country flag emojis not displayed correctly Country flag emojis are not displayed correctly Jul 24, 2020
@chrisduerr
Copy link
Member

This is basically a duplicate of #50. Though I think the interest for grapheme clusters is even lower than that for ligatures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants