You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/01/17 21:47:39 UTC

svn commit: r1434911 - in /flex/sdk/branches/develop/mustella/tests/mobile/components/Label: Styles/ Styles/baselines/ swfs/

Author: aharui
Date: Thu Jan 17 20:47:39 2013
New Revision: 1434911

URL: http://svn.apache.org/viewvc?rev=1434911&view=rev
Log:
More embed font issues

Modified:
    flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/Label_Styles_tester.mxml
    flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/baselines/Compare_Label_RichText_justificationRule_eastAsian@240ppi.png
    flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/baselines/Compare_Label_RichText_justificationRule_space@240ppi.png
    flex/sdk/branches/develop/mustella/tests/mobile/components/Label/swfs/Label1.mxml

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/Label_Styles_tester.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/Label_Styles_tester.mxml?rev=1434911&r1=1434910&r2=1434911&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/Label_Styles_tester.mxml (original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/Label_Styles_tester.mxml Thu Jan 17 20:47:39 2013
@@ -584,7 +584,7 @@
 				<RunCode code="FlexGlobals.topLevelApplication.doPopAll()" waitTarget="navigator" waitEvent="viewChangeComplete" />
 				<RunCode code="FlexGlobals.topLevelApplication.navigator.pushView(components.LabelStylesView1)" waitTarget="navigator" waitEvent="viewChangeComplete" />
 				<SetProperty target="navigator.activeView.textBoxComp.textBox" propertyName="text" value="こんにちは由香里。 御元気ですか?" waitTarget="navigator.activeView.textBoxComp.textBox" waitEvent="updateComplete" />
-				<SetStyle target="navigator.activeView.textBoxComp.textBox" styleName="fontFamily" value="mySerifCFF" />
+				<SetStyle target="navigator.activeView.textBoxComp.textBox" styleName="fontFamily" value="DroidSansFallback" />
 				<SetStyle target="navigator.activeView.textBoxComp.textBox" styleName="justificationRule" valueExpression="value=JustificationRule.SPACE" waitTarget="navigator.activeView.textBoxComp.textBox" waitEvent="updateComplete" />
 			</setup>
 			<body>
@@ -605,7 +605,7 @@
 				<RunCode code="FlexGlobals.topLevelApplication.navigator.pushView(components.LabelStylesView1)" waitTarget="navigator" waitEvent="viewChangeComplete" />
 				<WaitForLayoutManager />
 				<SetProperty target="navigator.activeView.textBoxComp.textBox" propertyName="text" value="こんにちは由香里。 御元気ですか?" waitTarget="navigator.activeView.textBoxComp.textBox" waitEvent="updateComplete" />
-				<SetStyle target="navigator.activeView.textBoxComp.textBox" styleName="fontFamily" value="mySerifCFF" />
+				<SetStyle target="navigator.activeView.textBoxComp.textBox" styleName="fontFamily" value="DroidSansFallback" />
 				<SetStyle target="navigator.activeView.textBoxComp.textBox" styleName="justificationRule" valueExpression="value=JustificationRule.EAST_ASIAN" waitTarget="navigator.activeView.textBoxComp.textBox" waitEvent="updateComplete" />
 			</setup>
 			<body>

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/baselines/Compare_Label_RichText_justificationRule_eastAsian@240ppi.png
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/baselines/Compare_Label_RichText_justificationRule_eastAsian%40240ppi.png?rev=1434911&r1=1434910&r2=1434911&view=diff
==============================================================================
Binary files - no diff available.

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/baselines/Compare_Label_RichText_justificationRule_space@240ppi.png
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/Label/Styles/baselines/Compare_Label_RichText_justificationRule_space%40240ppi.png?rev=1434911&r1=1434910&r2=1434911&view=diff
==============================================================================
Binary files - no diff available.

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/Label/swfs/Label1.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/Label/swfs/Label1.mxml?rev=1434911&r1=1434910&r2=1434911&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/components/Label/swfs/Label1.mxml (original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/components/Label/swfs/Label1.mxml Thu Jan 17 20:47:39 2013
@@ -120,6 +120,13 @@
 			embedAsCFF: true;
 		}
 
+		
+		@font-face {
+			src: url("../../../../../Assets/Fonts/Droid/DroidSansFallback.ttf");
+			fontFamily: "DroidSansFallback";
+			embedAsCFF: true;
+		}
+
 		@font-face{
 			src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
 			fontFamily: myVeraMonospaceNoCFF;