Skip to content

ellipsize: Try harder to find the right font

Matthias Clasen requested to merge better-ellipsize into main

When ellipsizing, we were using pango_attr_iterator_get_attrs to reconstitute the attribute list for the ellipsized range, but this does not merge font description attributes like we do when we shape the text without ellipsization. Fix that by making get_attrs return all font attributes, not just the innermost one.

Fixes: #575 (closed)

Edited by Matthias Clasen

Merge request reports