fix #20987: Text style of header is not applied
more buildin note groups
fix performance regression for layout