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

Add support for turning off full-color Emoji #16871

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

DHowett
Copy link
Member

@DHowett DHowett commented Mar 13, 2024

This pull request introduces support for disabling full-color emoji (and technically other COLR-related font features!)

Full-color emoji don't respond to SGR colors, intensity, faint or blink. Some users also just prefer the line art ones.

Related to #15979
Refs #1790
Closes #956

WindowsTerminal_20240313T183845_225

image

@microsoft-github-policy-service microsoft-github-policy-service bot added Issue-Task It's a feature request, but it doesn't really need a major design. Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Area-Settings Issues related to settings and customizability, for console or terminal Priority-3 A description (P3) Product-Terminal The new Windows Terminal. labels Mar 13, 2024
@DHowett DHowett mentioned this pull request Mar 13, 2024
Copy link
Member

@lhecker lhecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First!

@@ -1316,7 +1316,12 @@ BackendD3D::AtlasGlyphEntry* BackendD3D::_drawGlyph(const RenderingPayload& p, c
});

{
const auto enumerator = TranslateColorGlyphRun(p.dwriteFactory4.get(), {}, &glyphRun);
wil::com_ptr<IDWriteColorGlyphRunEnumerator1> enumerator{ nullptr };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: No need to write out { nullptr } explicitly.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh true

@DHowett
Copy link
Member Author

DHowett commented Mar 14, 2024

WindowsTerminal_20240313T183845_225

image

@DHowett DHowett enabled auto-merge (squash) March 14, 2024 19:54
@DHowett DHowett merged commit c3ab2fb into main Mar 15, 2024
20 checks passed
@DHowett DHowett deleted the dev/duhowett/fhl-2024/black-and-white-emoji-too branch March 15, 2024 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Area-Settings Issues related to settings and customizability, for console or terminal Issue-Task It's a feature request, but it doesn't really need a major design. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Settings] An option to disable colour font emoji
3 participants