Embedded fonts not working
When I debug the app on AIR simulator, the embedded font is rendered properly to all components. When I export to the device, the embedded fonts don't show up. Any suggestions?
I am using Flash Builder 4.7 and Apache Flex 4.14.1 SDK. Testing device is Samsung Galaxy Note III.
@11220649-face {
src: url("assets/SourceSansPro-Regular.otf");
fontFamily: "Source Sans Pro";
fontWeight: normal;
embedAsCFF: true;
}
src: url("assets/SourceSansPro-Regular.otf");
fontFamily: "Source Sans Pro 2";
fontWeight: normal;
embedAsCFF: false;
}
@11220649-face {
src: url("assets/SourceSansPro-Bold.otf");
fontFamily: "Source Sans Pro";
fontWeight: bold;
embedAsCFF: true;
}
@11220649-face {
src: url("assets/SourceSansPro-Bold.otf");
fontFamily: "Source Sans Pro 2";
fontWeight: bold;
embedAsCFF: false;
}
s|TextInput
{
fontFamily: Source Sans Pro;
}
s|Button
{
fontFamily: Source Sans Pro 2;
}
s|Label
{
fontFamily: Source Sans Pro;
}
