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] [Comment Edited] (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 edited comment on FLEX-34806 at 5/7/15 4:35 AM:
------------------------------------------------------------

UPDATE!

I found this:

https://www.mail-archive.com/search?l=dev@flex.apache.org&q=subject:%22[4.14]+Adobe+Embedded+Font+Libs+and+Utils+required+for+FlatSpark+skins%22&o=newest&f=1

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!  ;-)


was (Author: davidwelch):
UPDATE!

I found this:

https://www.mail-archive.com/search?l=dev@flex.apache.org&q=subject:%22[4.14]+Adobe+Embedded+Font+Libs+and+Utils+required+for+FlatSpark+skins%22&o=newest&f=1

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
(v6.3.4#6332)

Mime
View raw message