andlabs / andlabs/libui

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

Offen
#394 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
10.9k
Forks
612
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.