You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified that I am running the latest version of ImageSharp.Drawing
I have verified if the problem exist in both DEBUG and RELEASE mode
I have searched open and closed issues to ensure it has not already been reported
Description
According to the API documentation, RichTextRun.End is recognized as an exclusive end index, meaning the character at this position should not be decorated.
However, when RichTextRun.End is set to length - 1 (the same as the last index of the string), the RichTextRun decorates the entire string. Adding one more character at the end causes it to behave as expected.
Prerequisites
DEBUG
andRELEASE
modeDescription
According to the API documentation,
RichTextRun.End
is recognized as an exclusive end index, meaning the character at this position should not be decorated.However, when
RichTextRun.End
is set tolength - 1
(the same as the last index of the string), theRichTextRun
decorates the entire string. Adding one more character at the end causes it to behave as expected.Steps to Reproduce
Below is the sample code to reproduce:
and below is the output file.
System Configuration
The text was updated successfully, but these errors were encountered: