andlabs / andlabs/libui

Background text of attributed string does not work properly on High Sierra when it wraps to multiple lines.

Open
#394 1 comment 0 reactions 0 assignees View on GitHub
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:

![giu-19-2018 21-57-44](https://user-images.githubusercontent.com/11197111/41621820-1af38154-740e-11e8-8128-aed1af51f163.gif)

We discover the problem on libui-node https://github.com/parro-it/libui-node/issues/101

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.