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

svn commit: r1431036 - in /flex/sdk/branches/develop/mustella: Assets/Fonts/myStyles.css tests/gumbo/components/List/swfs/ListEvents_Main.mxml

Author: cframpton
Date: Wed Jan  9 20:02:25 2013
New Revision: 1431036

URL: http://svn.apache.org/viewvc?rev=1431036&view=rev
Log:
Fix embedded fonts in mxml file and spacing issue in css file.

Modified:
    flex/sdk/branches/develop/mustella/Assets/Fonts/myStyles.css
    flex/sdk/branches/develop/mustella/tests/gumbo/components/List/swfs/ListEvents_Main.mxml

Modified: flex/sdk/branches/develop/mustella/Assets/Fonts/myStyles.css
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/Assets/Fonts/myStyles.css?rev=1431036&r1=1431035&r2=1431036&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/Assets/Fonts/myStyles.css (original)
+++ flex/sdk/branches/develop/mustella/Assets/Fonts/myStyles.css Wed Jan  9 20:02:25 2013
@@ -19,21 +19,21 @@
 @font-face {
 	src: url("Open_Sans/OpenSans-Regular.ttf");
 	fontFamily: "MyVerdana";
-        embedAsCFF: false;
+    embedAsCFF: false;
 }
 
 @font-face {
 	src: url("Open_Sans/OpenSans-Bold.ttf");
 	fontFamily: "MyVerdana";
 	fontWeight: bold;
-        embedAsCFF: false;
+    embedAsCFF: false;
 }
 
 @font-face {
 	src: url("Open_Sans/OpenSans-Italic.ttf");
 	fontFamily: "MyVerdana";
 	fontStyle: italic;
-        embedAsCFF: false;
+    embedAsCFF: false;
 }
 
 @font-face {
@@ -41,7 +41,7 @@
 	fontFamily: "MyVerdana";
 	fontWeight: bold;
 	fontStyle: italic;
-        embedAsCFF: false;
+    embedAsCFF: false;
 }
 
 global {

Modified: flex/sdk/branches/develop/mustella/tests/gumbo/components/List/swfs/ListEvents_Main.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/gumbo/components/List/swfs/ListEvents_Main.mxml?rev=1431036&r1=1431035&r2=1431036&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/gumbo/components/List/swfs/ListEvents_Main.mxml (original)
+++ flex/sdk/branches/develop/mustella/tests/gumbo/components/List/swfs/ListEvents_Main.mxml Wed Jan  9 20:02:25 2013
@@ -21,6 +21,36 @@
 			   xmlns:s="library://ns.adobe.com/flex/spark" 
 			   xmlns:mx="library://ns.adobe.com/flex/mx"
 			   xmlns:comps="comps.*"> 
-	<fx:Style source="../../../../../Assets/Fonts/myStyles.css" />
-	<comps:ListEventsComp id="myListEventsComp" />
-</s:Application>
\ No newline at end of file
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+
+		@font-face {
+			src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: EmbeddedOpenSans;
+			embedAsCFF: true;
+		}
+
+		@font-face {
+			src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontFamily: EmbeddedOpenSans;
+			fontStyle: italic;
+			embedAsCFF: true;
+		}
+
+		@font-face {
+			src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontFamily: EmbeddedOpenSans;
+			fontWeight: bold;
+			embedAsCFF: true;
+		}
+
+		global{
+			fontAntiAliasType: "normal";
+			fontFamily: EmbeddedOpenSans;
+            fontLookup: "embeddedCFF";
+		}
+	</fx:Style>
+	
+	<comps:ListEventsComp id="myListEventsComp"/>
+</s:Application>