flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Welch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34806) Warning about font embedding on label component
Date Thu, 07 May 2015 04:36:00 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531978#comment-14531978

David Welch commented on FLEX-34806:


I found this:


and added 
/*Roboto Fonts*/
@font-face {
	src: url(spark/skins/android4/assets/fonts/Roboto-Regular.ttf);
	fontFamily: RobotoRegular;
	embed-as-cff: true;

@font-face {
	src: url(spark/skins/android4/assets/fonts/Roboto-Bold.ttf);
	fontFamily: RobotoBold;
	fontWeight: bold;
	embed-as-cff: true;

To my .css and, voila, no more warnings, no more weird text!!!!  I stil have some color issues,
but, this seems to have resolved the problem.

I hope this helps someone, until this issue is fixed in 4.15!

> Warning about font embedding on label component
> -----------------------------------------------
>                 Key: FLEX-34806
>                 URL: https://issues.apache.org/jira/browse/FLEX-34806
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: Label
>    Affects Versions: Apache Flex 4.14.0
>         Environment: Run on device on Android or iOS.
>            Reporter: Ross Taylor
>            Assignee: OmPrakash Muppirala
>            Priority: Minor
>             Fix For: Apache Flex 4.14.1
>         Attachments: TestNavigator.fxp
> The following warning is shown in the debugger for every label used in the application:
> warning: incompatible embedded font 'RobotoRegular' specified for spark.components::Label
(Label36) . This component requires that the embedded font be declared with embedAsCFF=true.
> Occurs when debugging on iOS or Android device.

This message was sent by Atlassian JIRA

View raw message