Don’t insert the same layout attributes multiple times
Don’t insert the same layout attributes multiple times

Using pango_attr_list_change is slower, but it prevents spacing attributes to
be set twice, breaking the line-splitting algorithm for some reason.

I don’t know if it is possible to add a simple test for that.

Fix #1025.

Kozea/WeasyPrint,Kozea/WeasyPrint