fff5585b5f
Since the Cogl material branch merge when changing the color of a part using pango attributes (such as using <span color="red" /> markup) then it wouldn't return to the default color for the rest of the layout. pango_renderer_get_color returns NULL if there is no color override in which case it needs to revert to the color specified as the argument to cogl_pango_render_layout. The 'color' member of CoglPangoRenderer has been reinstated to store that default color and now cogl_pango_render_set_color_for_part is the only place that sets the material color. |
||
---|---|---|
.. | ||
cogl-pango-fontmap.c | ||
cogl-pango-glyph-cache.c | ||
cogl-pango-glyph-cache.h | ||
cogl-pango-private.h | ||
cogl-pango-render.c | ||
cogl-pango.h | ||
Makefile.am |