Reorder attributes, and replace ":bold" by ":weight"