GNOME Bugzilla – Bug 455086
[cairotextoverlay] ignores the size in font-desc property
Last modified: 2007-11-13 14:52:36 UTC
Please describe the problem: Cairotextoverlay ignores the font-desc property Steps to reproduce: 1. gst-launch -v videotestsrc ! ffmpegcolorspace ! cairotextoverlay font-desc "Arial 30" ! autovideosink 2. 3. Actual results: The font is default Expected results: Textoverlay through cairo should works like pango (choose user-defined font from font-desc property) Does this happen every time? yes Other information:
gst-launch videotestsrc ! cairotextoverlay font-desc="Arial" text="test" ! xvimagesink gst-launch videotestsrc ! cairotextoverlay font-desc="Times" text="test" ! xvimagesink creates different look, but specifying a size seems to not work.
Fixed in CVS, sort of: 2007-11-13 Tim-Philipp Müller <tim at centricular dot net> * ext/cairo/gsttextoverlay.c: (gst_text_overlay_font_init): Implement minimal parsing of the passed pango font description string, so passing a font size works the same as with the pango textoverlay plugin; fixes #455086. (Maybe we could just use pangocairo here at some point).