contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.3k stars 100 forks source link

Emoji does not display with text_shaping engine is OpenShaper on Windows #760

Open rhcher opened 1 year ago

rhcher commented 1 year ago

Contour Terminal version

master

Installer source

Github: source code cloned

Operating System

wsl2 Arch

Architecture

x86-64

Other Software

No response

Steps to reproduce

  1. let text_shaping engine is OpenShaper
  2. let emoji font is "emoji"
  3. win + . to try to input a emoji

Expected Behavior

display emoji like text_shaping is native image

Actual Behavior

it display nothing image

Additional notes

The reason I set font locator to fontconfig and test_shaping to OpenShaper is that when it is set to native there will missing some symbol like prompt I show above. When I set font locator and test_shapping both to native there will can't find special font which I set to bold.

christianparpart commented 1 year ago

Hey @rhcher. Looks like we don't support colored glyphs in open shaper either / or we don't support actually finding that font file containing emoji glyphs. I'll have to try out what the actual root cause is.

Did you however try to use text_shaping as OpenShaper but locator as native and that works? That would mean that the fontconfig locator needs work. :)

EDIT: p.s.: to be clear: since u're using WSL, your Contour however is a Windows built, not a Linux built, right?

rhcher commented 1 year ago

Did you however try to use text_shaping as OpenShaper but locator as native and that works? That would mean that the fontconfig locator needs work. :)

image same

to be clear: since u're using WSL, your Contour however is a Windows built, not a Linux built, right?

Yeah, it's Windows built