GNOME Bugzilla – Bug 320395
[pango] render text via cairo if it is available
Last modified: 2009-07-30 12:43:08 UTC
cairotextoverlay and cairotimeoverlay should be renamed to textoverlay and timeoverlay if we are going to replace the former pango plugin with the cairo one as default. Cheers -Tim
On second thought, that seems like a bad idea. pango textoverlay should remain the default textoverlay, as it supports embedded newline characters and multi-line text, which cairo does not seem to support (or does it?).
It seems you are right. However they can be used together. This suggests to me that cairo*overlay should go and the pango one should support rendering to cairo surfaces as well. What do you think?
This doesn't really block bug #319388. We can decide later which plugin should be 'textoverlay' and 'timeoverlay', as (a) nothing keeps us from registering the same plugin under two different names and (b) the API won't change. Haven't investigated whether pango can render on cairo surfaces yet.
For the record, http://www.pango.org/manual/pango-Cairo-Rendering.html
Great. The other question is: given that we want to support systems that ship a glib as old as glib 2.6, how likely is it that those systems ship cairo-enabled pango, and what does that mean for our choice of plugins? Maybe we should just port the old pango*overlay as it is now, and make it use cairo in GStreamer 0.11?
*** Bug 307289 has been marked as a duplicate of this bug. ***
This bug is essentially a duplicate of bug #340887, which provides a patch to let textoverlay (the pango one) use pango-cairo. *** This bug has been marked as a duplicate of 340887 ***