I just want to create an image which contains some text. This text can contain emojis. I'm using the "Segoe UI Emoji" font, and call:
var fontName = "Segoe UI Emoji";
var font = new Font(fontName, 48, FontStyle.Regular);
var textFormat = new StringFormat
{
Trimming = StringTrimming.None
};
graphics.DrawString("😎 some text 🎉", font, Brushes.Black, new RectangleF(80, 400, width - 160, height - 460), textFormat);
then the emojis are black and white in the resulting image... How could I render them in color?