-
A slight twist on embedding fonts...
Hi,
I have embedded some fonts in my Flex project and I want to be able to use them with externally loaded SWF files...
Trouble is, they seem to be hidden from the loaded content which is a bit of a pain.
Does anybody know of a way to make these outlines available, short of moving to a shared library?
Cheers,
G
-
I haven't had to deal with this this myself yet but I see it peppered throughout the Flex Framework and it seems to refer to the problem you are having.
Have a look at the embeddedFontRegistry singleton, the mx_internal::getFontContext() and the protected function createInFontContext();
The ladder looks like it specifically addresses the issue and allows you to create an object using the moduleFactory of the SWF that owns the embedded font. "Embedded fonts may only be accessed from the SWF file context in which they were created." Interesting...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|