History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-13932
Type: Bug Bug
Status: Closed Closed
Resolution: Not a Bug
Priority: B B
Assignee: Joan Lafferty
Reporter: Joan Lafferty
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Flex SDK

Embedded fonts do not show up in swfs loaded into a Flex 3 bootstrap Application.

Created: 12/10/07 08:07 PM   Updated: 12/12/07 05:07 PM
Component/s: Versioning
Security Level: Public (All JIRA Users )

File Attachments: 1. Zip Archive testApp2.zip (841 kb)
2. Zip Archive testApp_works.zip (1.09 Mb)


Severity: Non Functioning
Reproducibility: Every Time
Discoverability: Medium
Found in Version: None
Milestone: SDK Moxie RC0
Affected OS(s): All OS Platforms
Steps to Reproduce:
Steps to reproduce:
1. Load formapp1.swf (compiled in Flex 3) and formapp2.swf (compiled in Flex 2.0.1)
These should look identical with Comic Sans text in the TextInput.
2. Load the bugfile BootstrapLoaderApp.swf
3.View formApp 1 and formApp 2.
 
 Actual Results: The swf compiled in Flex 3 (formapp1.swf) shows the text in the TextInput, but, the ComicSans font is not applied. The swf compiled in Flex 2.0.1 (formapp2.swf) shows no text in the TextInput.
 
 
 Expected Results: The swfs loaded into the Bootstrap should look exactly like when you load them by themselves in the player (w/o a Bootstrap).
 
 
 Workaround (if any):
 
 
 
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: Yes
QA Owner: Joan Lafferty
Resolved by: Alex Harui
Confirmed Version: None - Next Build
Participants: Alex Harui, Joan Lafferty and Lauren Park


 All   Comments      Sort Order:
Joan Lafferty - [12/10/07 08:07 PM ]
Sending to Internal Review.

Lauren Park - [12/10/07 08:58 PM ]
Opening.

Alex Harui - [12/11/07 05:03 PM ]
In theory, nobody will use this embed syntax in the topologies we care about. First, use of the global selector won't work at all as the shell's global selector will win. Second, the odds that there is a collision between the shell's classes and the form's classes could be high, especially for TextInput, Button and Label. In 2.x if there is a collision, embedded fonts won't work. The only 'workaround' is to use the [Embed] mechanism for embedding fonts and calling Font.registerFont on those fonts. If you do that, the fonts show up.

Joan Lafferty - [12/12/07 05:07 PM ]
Ok. This suggestion works. I am uploading a sample where formapp2.mxml embeds and registers the font.