Skip to content

Add support for turning off full-color Emoji - #16871

Merged
Dustin L. Howett (DHowett) merged 2 commits into
mainfrom
dev/duhowett/fhl-2024/black-and-white-emoji-too
Mar 15, 2024
Merged

Dustin L. Howett (DHowett) merged 2 commits into
mainfrom
dev/duhowett/fhl-2024/black-and-white-emoji-too

Conversation

@DHowett

@DHowett Dustin L. Howett (DHowett) commented Mar 13, 2024 •

Copy link
Copy Markdown
Member

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

@lhecker Leonard Hecker (lhecker) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

First!

Comment thread src/renderer/atlas/BackendD3D.cpp Outdated

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

WindowsTerminal_20240313T183845_225

image

@DHowett
Dustin L. Howett (DHowett) enabled auto-merge (squash) March 14, 2024 19:54
@DHowett
Dustin L. Howett (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