After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 455086 - [cairotextoverlay] ignores the size in font-desc property
[cairotextoverlay] ignores the size in font-desc property
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.6
Other All
: Normal normal
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-09 09:13 UTC by Vitaly Mayatskih
Modified: 2007-11-13 14:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vitaly Mayatskih 2007-07-09 09:13:25 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:
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2007-08-24 13:14:36 UTC
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.
Comment 2 Tim-Philipp Müller 2007-11-13 14:52:36 UTC
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).