Hi,
Its compiled to SWF. Loaded by StyleManager (loadStyleDeclarations).
Sample of CSS:
global
{
fontFamily: VerdanaCff;
fontSize: 12;
focusAlpha:0;
}
@font-face
{
src: url("/VERDANA.TTF");
fontFamily: "VerdanaCff";
embedAsCFF: true;
}
@font-face
{
src: url("/verdanab.ttf");
fontWeight: bold;
fontFamily: "VerdanaCff";
embedAsCFF: true;
}
@font-face
{
src: url("/VERDANA.TTF");
fontFamily: "VerdanaNoCff";
embedAsCFF: false;
}
@font-face
{
src: url("/verdanab.ttf");
fontWeight: bold;
fontFamily: "VerdanaNoCff";
embedAsCFF: false;
}
@font-face
{
src: url("/verdanai.ttf");
fontFamily: "VerdanaCff";
fontStyle: italic;
embedAsCFF: true;
}
@font-face
{
src: url("/verdanai.ttf");
fontFamily: "VerdanaNoCff";
fontStyle: italic;
embedAsCFF: false;
}
s|Label
{
fontFamily: "VerdanaCff";
}
From: jmclean [via Apache Flex Users]
[mailto:[email protected]]
Sent: Monday, September 16, 2013 9:11 AM
To: Miki Lior
Subject: Re: Can't embed font in flex 4.10 using external stylesheet
Hi,
> I moved from flex 4.5 using EmbedAsCFF= true for an embed font.
> the css is being loaded on runtime.
How is the CSS being loaded at run time? I assume it's been compiled into a
swf? Can you share thw code showing how that swf is loaded?
Thanks,
Justin
________________________________
If you reply to this email, your message will be added to the discussion below:
http://apache-flex-users.2333346.n4.nabble.com/Can-t-embed-font-in-flex-4-10-using-external-stylesheet-tp2718p2719.html
To unsubscribe from Can't embed font in flex 4.10 using external stylesheet,
click
here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2718&code=bWlraS5saW9yQHRyYWRlbmN5LmNvbXwyNzE4fDE3OTQ5OTY4Mjk=>.
NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
Email secured by Check Point
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Can-t-embed-font-in-flex-4-10-using-external-stylesheet-tp2718p2720.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.