Layout: Speed up get_log_attrs()
Call pango_layout_get_log_attrs_readonly() instead of pango_layout_get_log_attrs(). The PangoLogAttr structs will then be copied once instead of twice.
parent
1f3ed104
Please register or sign in to comment
Call pango_layout_get_log_attrs_readonly() instead of pango_layout_get_log_attrs(). The PangoLogAttr structs will then be copied once instead of twice.