You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "jing zhe shan (Created) (JIRA)" <ji...@apache.org> on 2012/03/26 02:46:28 UTC
[jira] [Created] (FLEX-31) Flex SDK 4.5.1A font compile issue
Flex SDK 4.5.1A font compile issue
----------------------------------
Key: FLEX-31
URL: https://issues.apache.org/jira/browse/FLEX-31
Project: Apache Flex
Issue Type: Bug
Reporter: jing zhe shan
Assignee: Bertrand Delacretaz
In style sheet, declared embedAsCff = true, however when running the application still give me the warning
"warning: incompatible embedded font 'SegoeUI' specified for spark.components::Label (Label7) . This component requires that the embedded font be declared with embedAsCFF=true."
@font-face
{
embedAsCFF: true;
src:url(assets/SEGOEUI.TTF);
font-family: "SegoeUI";
font-weight: normal;
}
Tried with SDK 4.5.1 and SDK 4.6 both are working fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FLEX-31) Flex SDK 4.5.1A font compile issue
Posted by "jing zhe shan (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLEX-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238785#comment-13238785 ]
jing zhe shan commented on FLEX-31:
-----------------------------------
Code snippet:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955" minHeight="600">
<fx:Style>
/* CSS file */
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
@font-face
{
embedAsCFF: true;
src:url(assets/SEGOEUI.TTF);
font-family: "SegoeUI";
font-weight: normal;
}
@font-face
{
embedAsCFF: true;
src:url(assets/SEGUISB.TTF);
font-family: "SegoeUI";
font-weight: bold;
}
</fx:Style>
<s:VGroup width="500" height="400" fontSize="15" paddingLeft="2" paddingTop="2">
<s:Label fontFamily="SegoeUI" text="Normal"/>
<s:Label fontFamily="SegoeUI" fontWeight="bold" text="Bold"/>
</s:VGroup>
</s:Application>
----------------------------------------------------------------------------------------------------------------------------------------------------
warning: incompatible embedded font 'SegoeUI' specified for spark.components::Label (Label7) . This component requires that the embedded font be declared with embedAsCFF=true.
warning: incompatible embedded font 'SegoeUI' specified for spark.components::Label (Label6) . This component requires that the embedded font be declared with embedAsCFF=true.
> Flex SDK 4.5.1A font compile issue
> ----------------------------------
>
> Key: FLEX-31
> URL: https://issues.apache.org/jira/browse/FLEX-31
> Project: Apache Flex
> Issue Type: Bug
> Reporter: jing zhe shan
> Assignee: Bertrand Delacretaz
>
> In style sheet, declared embedAsCff = true, however when running the application still give me the warning
> "warning: incompatible embedded font 'SegoeUI' specified for spark.components::Label (Label7) . This component requires that the embedded font be declared with embedAsCFF=true."
> @font-face
> {
> embedAsCFF: true;
> src:url(assets/SEGOEUI.TTF);
> font-family: "SegoeUI";
> font-weight: normal;
> }
> Tried with SDK 4.5.1 and SDK 4.6 both are working fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FLEX-31) Flex SDK 4.5.1A font compile issue
Posted by "Carol Frampton (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLEX-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238478#comment-13238478 ]
Carol Frampton commented on FLEX-31:
------------------------------------
Please be more specific when you enter a bug. Please include a complete snippet of the code that doesn't work as well as the exact name and version of the code that you are using.
> Flex SDK 4.5.1A font compile issue
> ----------------------------------
>
> Key: FLEX-31
> URL: https://issues.apache.org/jira/browse/FLEX-31
> Project: Apache Flex
> Issue Type: Bug
> Reporter: jing zhe shan
> Assignee: Bertrand Delacretaz
>
> In style sheet, declared embedAsCff = true, however when running the application still give me the warning
> "warning: incompatible embedded font 'SegoeUI' specified for spark.components::Label (Label7) . This component requires that the embedded font be declared with embedAsCFF=true."
> @font-face
> {
> embedAsCFF: true;
> src:url(assets/SEGOEUI.TTF);
> font-family: "SegoeUI";
> font-weight: normal;
> }
> Tried with SDK 4.5.1 and SDK 4.6 both are working fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira