Skip to content

cogl-pango: Factor in default color alpha again

Carlos Garnacho requested to merge wip/carlosg/actor-opacity-on-text into master

In commit d846fabd we moved to using the override color alpha, however it was missed that the actor opacity is transferred to the PangoRenderer through the default color alpha, and the reason it was used there.

We actually want to factor in both alpha values, in order to respect both foreground color alpha and actor opacity. This is done on the unpremultiplied color, so we just need to change the alpha value.

Fixes effects on text actors that involve actor opacity.

Merge request reports