Hi Castorix,
Perhaps this is the answer:
========
Rendering Text with Pixel Snapping:
IDWriteTextLayout provides a convenient way to render text, including emoji. When using ID2D1RenderTarget::DrawTextLayout, DirectWrite automatically performs pixel snapping, resulting in clear and sharp text. However, if you’re using ID2D1RenderTarget::DrawGlyphRun to render individual glyphs (like emoji), achieving pixel snapping can be more challenging.
Challenges with DrawGlyphRun:
DrawGlyphRun operates on individual glyphs, and it doesn’t have the same built-in pixel snapping behavior as DrawTextLayout.
=======
So, it seems that DrawTextLayout performs pixel snapping and that's why it renders 3D fluent emojis. However, DrawGlypgh doesn't and that's why it renders only 2D emojis.
Is this approach right? Thank you.