Replies: 1 comment 2 replies
-
You wil need to use a font that has support for reading those characters. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i am not able to add text with other languages
string test = "حقوق"; string caption = $"label: {test } "; using (MagickImage watermark = new MagickImage(caption, textSettings)) { watermark.Rotate(options.TextOptions.RotationAngle); watermark.Extent(watermark.Width + options.TextOptions.PaddingX, watermark.Height + options.TextOptions.PaddingY, Gravity.Center, MagickColors.Transparent); watermark.Evaluate(Channels.Alpha, EvaluateOperator.Divide, options.TextOptions.Opacity); var imageGravity = Functions.GetMagickGravity(options.TextOptions.position); image.Composite(watermark, imageGravity , CompositeOperator.Over); imgPerview.Source = image.ToBitmapSource(); }
Beta Was this translation helpful? Give feedback.
All reactions