incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1420405 - in /incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid: SWFs/AdvancedDataGridMain.mxml Styles/Baselines/datagrid_fontstyle_italic.png Styles/advanceddatagrid_styles_listbase.mxml
Date Tue, 11 Dec 2012 21:05:17 GMT
Author: cframpton
Date: Tue Dec 11 21:05:16 2012
New Revision: 1420405

URL: http://svn.apache.org/viewvc?rev=1420405&view=rev
Log:
Embed alternative fonts used by style tests.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/SWFs/AdvancedDataGridMain.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_fontstyle_italic.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/Styles/advanceddatagrid_styles_listbase.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/SWFs/AdvancedDataGridMain.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/SWFs/AdvancedDataGridMain.mxml?rev=1420405&r1=1420404&r2=1420405&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/SWFs/AdvancedDataGridMain.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/SWFs/AdvancedDataGridMain.mxml
Tue Dec 11 21:05:16 2012
@@ -37,6 +37,21 @@
             embedAsCFF: false;
         }
         
+        @font-face {
+            src: url("../../../../Assets/Fonts/Lobster_Two/LobsterTwo-Italic.ttf");
+            fontFamily: EmbeddedVerdana;
+            fontWeight: normal;
+            fontStyle: italic;
+            embedAsCFF: false;
+        }
+        
+        /* Used by some of the styles tests. */
+        @font-face {
+            src: url("../../../../Assets/Fonts/Cousine/Cousine-Regular.ttf");
+            fontFamily: EmbeddedArial;
+            embedAsCFF: false;
+        }
+        
         mx|AdvancedDataGrid {
             /* embed the numeric sort indicator */
             sortFontFamily: EmbeddedVerdana;

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_fontstyle_italic.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_fontstyle_italic.png?rev=1420405&r1=1420404&r2=1420405&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/Styles/advanceddatagrid_styles_listbase.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/Styles/advanceddatagrid_styles_listbase.mxml?rev=1420405&r1=1420404&r2=1420405&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/Styles/advanceddatagrid_styles_listbase.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/AdvancedDataGrid/Styles/advanceddatagrid_styles_listbase.mxml
Tue Dec 11 21:05:16 2012
@@ -72,11 +72,6 @@
         {
             application.mydatagrid.setStyle("backgroundColor",0xFF0000);
         }
-        public function setFF():void
-        {
-        
-           application.mydatagrid.setStyle("fontFamily","Arial");
-        }
         public function startApp():void
         {
           application.startIt();



Mime
View raw message