Bug 16667 - doesn't render variable text with font embedded on SWF file
Summary: doesn't render variable text with font embedded on SWF file
Status: ASSIGNED
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: 0.7.x
Hardware: Other All
: medium enhancement
Assignee: swfdec ml
QA Contact: swfdec ml
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-10 14:05 UTC by Pablo Rodríguez
Modified: 2008-07-16 13:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
SWF containing variable and fixed text with embedded font (30.92 KB, application/x-shockwave-flash)
2008-07-10 14:05 UTC, Pablo Rodríguez
Details

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.