Green Outline
U+1F512 has a green outline for some reason in Windows 11.
Show me the same sign in other software… I don’t even know how to answer.
No green outline.
https://github.com/microsoft/fluentui-emoji/blob/main/assets/Locked/Flat/locked_flat.svg
No green outline.
THE SAME sign, 1F512. Drawn with font Segoe UI Emoji rather than with SVG. It’s clearly a font+renderer trouble.
I'm not sure what you want. The green outline should not be there.
Show me the SAME emoji 1F512 drawn with SEGOE UI font in ANOTHER PROGRAM. For example: browser, Word, LibreOffice…
This is clearly a question of text drawing method. Because of W7 and pesky bugs, I use rather old Qt, and I don’t even know what to do.
Of course, I cannot draw an SVG if we check whether the system can draw the character somehow.
Windows 11 font is giving me the 3D version:
I don't know where Unicodia is getting the flat version.
What is the font’s name? Segoe UI Emoji?
Yes.
No! It’s a separate Fluent set.
Unicodia says "Segoe UI Emoji". But I have no idea what font file it's using for the flat emojis.
“Segoe UI Emoji” contains flat emoji. 3D emoji are from a special set available using a special API. I can experiment with Direct2D, but IDK.
@MAZ06 What version of Segoe UI Emoji do you have? It has changed with different versions of Windows 11.
v1.31 - 2020-12-22 - Windows 11 - 2016 characters (old flat)
v1.33 - 2021-10-21 - Windows 11 - 2003 characters - COLRv0 (new flat)
v1.35 - 2022-06-00 - Windows 11 - 2040 characters - COLRv0 - looks the same
v1.45 - 2023-06-14 - Windows 11 23H2 - now COLRv1 (with gradients)
v1.51 - 2024-03-01 - Windows 11 23H2 - COLRv1 - looks the same
@Mercury13
Pretty sure they have both COLRv0 and COLRv1 in the same font now.
(along with the monochrome versions in the glyf table )
What his image looks like is the COLRv0 version with some of the COLRv1 gradient or shading overlaid on it.
The COLRv0 and the COLRv1 glyphs are both in the COLR table,
but they have different formats (this kinda threw Affinity at first).
So make sure what you are reading is the correct pieces.
I have 1.51.
I just rely on other’s rendering. Most probably GDI. I don’t have typography engine. I’m working on Egyptian now, already >25 misrenders, less than 2 sheets checked. Then #495, incomplete emoji. So let me release w/o fonts, and then I’ll experiment with DirectWrite.
With Egyptian I’m just scared, misrenders pop and pop after a simple look at the characters.
Red outline.
Strange, cannot repeat.
Though repeats on other character…
I did some further checking and the current font file only contains COLRv1 (no COLRv0). My comment above is incorrect.
So whatever you are using must fully support COLRv1 to work correctly.
I do not use, I just display it, probably with GDI.