Bug 15262 - Regression - text labels not shown in "Pinch-hitter"
Summary: Regression - text labels not shown in "Pinch-hitter"
Status: RESOLVED FIXED
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: swfdec ml
QA Contact: swfdec ml
URL: http://media1.break.com/dnet/media/20...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-29 18:48 UTC by Pavel Roskin
Modified: 2008-03-31 04:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pavel Roskin 2008-03-29 18:48:12 UTC
Some text labels are not shown in the current git version of swfdec.  There are single orange pixels where the text is supposed to be.  In particular, the title above "none" is not shown.  I'm using swfplay from swfdec package.

This is a regression.  Older versions of swfdec used to show the lables correctly.
Comment 1 Pavel Roskin 2008-03-30 13:56:44 UTC
Version 0.6.2 is OK on the same machine (Fedora 8 with updated glib, x86_64).  It's also OK on a Fedora 9 i386 machine with the distribution provided GNOME swfdec-player 0.6.2.

The missing labels, such as "YOUR PLAYER PROFILE" on top are written in an unusual font with thick serifs, whereas the labels that are still seen in the git version are written in the usual Arial or Times (well, Times in the team selection dialog is distorted, but it's another issue).  So it's likely that only the application provided fonts are affected.
Comment 2 Pavel Roskin 2008-03-30 14:17:23 UTC
The commit that introduces the bug is:

commit cad9dc327dc4725665e0f6f8040d09c37b39ddeb
Refs: refs/bisect/bad, bisect, 0.6.0-50-gcad9dc3
Author:     Benjamin Otte <otte@gnome.org>
AuthorDate: Thu Mar 13 18:41:03 2008 +0100
Commit:     Benjamin Otte <otte@gnome.org>
CommitDate: Thu Mar 13 23:37:31 2008 +0100

    rework Font parsing
    
    - DefineFont2 and DefineFont3 are almost equal
    - save the rest of proeprties in the SwfdecFont structure
---
 swfdec/swfdec_font.c |  126 +++++++------------------------------------------
 swfdec/swfdec_font.h |    8 ++-
 swfdec/swfdec_tag.c  |    2 +-
 3 files changed, 25 insertions(+), 111 deletions(-)
Comment 3 Benjamin Otte 2008-03-31 04:55:11 UTC
Fixed in git master.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.