Bug 16667

Summary: doesn't render variable text with font embedded on SWF file
Product: swfdec Reporter: Pablo Rodríguez <freedesktop>
Component: libraryAssignee: swfdec ml <swfdec>
Status: ASSIGNED --- QA Contact: swfdec ml <swfdec>
Severity: enhancement    
Priority: medium    
Version: 0.7.x   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: SWF containing variable and fixed text with embedded font

Description Pablo Rodríguez 2008-07-10 14:05:24 UTC
Created attachment 17624 [details]
SWF containing variable and fixed text with embedded font

In the attached SWF file there is a font embedded used by both variable and fixed text, but swfdec-0.7.2 only renders the fixed text with the embedded font when it should render both using the font.

Just in case it helps, the SWF file was created with the following swfc script:

.flash filename="sprite.swf"
.font roman "AirConditioner.ttf"
.text oworld font=roman text="world!" color=yellow
.edittext helloworld font=roman width=150 height=100 color=red
variable="hell"

.sprite hi
    .put helloworld
.end
.put oworld

.put hi
    .action:
    hi.hell= "hello";
    .end
.end

Thanks for your help,


Pablo
Comment 1 Benjamin Otte 2008-07-10 14:28:20 UTC
Yup, Swfdec does not yet render embedded fonts. This depends on Pango being able to embed the new Cairo user fonts before Swfdec can use it. And that is http://bugzilla.gnome.org/show_bug.cgi?id=347237
Comment 2 Pablo Rodríguez 2008-07-11 13:01:49 UTC
Thanks for your reply, Benjamin.

So it seems that we'll have to wait for cairo-1.8.

Congratulations for the excellent work,


Pablo

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.