andlabs / andlabs/libui

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

Ouverte
#394 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C
Étoiles
10.9k
Forks
612
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.