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 noticed strange behavior of WordWrap if there is a "/" symbol in the middle of a word.
For example, if you output the text string "aaaaa bbbbb/ccccc ddddd" with a width limitation.
The picture on the left shows the expected behavior (as in GDI, GDI+, Wpf, Word, Chrome, etc.), on the right is the result obtained:
Note: if there is only one long word in the line, in the middle of which there is a "/" symbol, then this is the correct behavior.
But if there is more than one word, then it should be wrapped entirely.
Steps to Reproduce
Draw text string "aaaaa bbbbb/ccccc ddddd" with a width limitation.
Images
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
DEBUG
andRELEASE
modeFonts version
2.1.2
Other Six Labors packages and versions
SixLabors.ImageSharp.Drawing 2.1.5, SixLabors.ImageSharp 3.1.6
Environment (Operating system, version and so on)
Windows 11
.NET Framework version
.Net 8
Description
I noticed strange behavior of WordWrap if there is a "/" symbol in the middle of a word.
For example, if you output the text string "aaaaa bbbbb/ccccc ddddd" with a width limitation.
The picture on the left shows the expected behavior (as in GDI, GDI+, Wpf, Word, Chrome, etc.), on the right is the result obtained:
Note: if there is only one long word in the line, in the middle of which there is a "/" symbol, then this is the correct behavior.
But if there is more than one word, then it should be wrapped entirely.
Steps to Reproduce
Draw text string "aaaaa bbbbb/ccccc ddddd" with a width limitation.
Images
No response
The text was updated successfully, but these errors were encountered: