Skip to content

Embedded emojis within text #413

Closed Answered by tocsoft
avisra asked this question in Q&A
Aug 19, 2024 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

You will want to move over to our updated RichTextOptions type in place of the base TextOptions which adds support for a Path property to render along used while rendering the text along with providing per span overrides often brush/pen used for part of the text. (RichTextRun)

I've just opened a PR to update our samples to cover your use case. SixLabors/Samples#37 which produces an output like this

A direct link to the raw code is https://github.com/SixLabors/Samples/blob/6168903c095f16afe5816c52c34b103f2fba6e77/ImageSharp/DrawingTextAlongAPath/Program.cs

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@tocsoft
Comment options

@avisra
Comment options

@avisra
Comment options

@tocsoft
Comment options

Answer selected by avisra
@avisra
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants