Background text of attributed string does not work properly on High Sierra when it wraps to multiple lines.
Open
- Dominant language
- C
- Stars
- 10.9k
- Forks
- 612
- PR merge metrics
- No merged PRs in 30d
Description
When a fragment of an attributed string that has background attribute wraps to multiple lines,
the background attribute extends to the end of the last line containing the fragment.
The problem happens only on macOS High Sierra. macOS Sierra is not affected.
The GIF below is taken from the drawtext example:

We discover the problem on libui-node https://github.com/parro-it/libui-node/issues/101
Contributor guide
Assessment
This issue has not been assessed yet.