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/23 20:47:18 UTC

svn commit: r1437657 - in /flex/sdk/branches/develop/mustella/tests/mobile/StageText: properties/baselines/TextArea/ styles/baselines/TextInput/ swfs/

Author: aharui
Date: Wed Jan 23 19:47:18 2013
New Revision: 1437657

URL: http://svn.apache.org/viewvc?rev=1437657&view=rev
Log:
Try to embed fonts in the stage text emulator

Modified:
    flex/sdk/branches/develop/mustella/tests/mobile/StageText/properties/baselines/TextArea/StageText_TextArea_displayAsPassword_nominal@android_240ppi.png
    flex/sdk/branches/develop/mustella/tests/mobile/StageText/styles/baselines/TextInput/StageText_TextInput_fontSize_nominal_36@android_240ppi.png
    flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/StageText.mxml

Modified: flex/sdk/branches/develop/mustella/tests/mobile/StageText/properties/baselines/TextArea/StageText_TextArea_displayAsPassword_nominal@android_240ppi.png
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/StageText/properties/baselines/TextArea/StageText_TextArea_displayAsPassword_nominal%40android_240ppi.png?rev=1437657&r1=1437656&r2=1437657&view=diff
==============================================================================
Binary files - no diff available.

Modified: flex/sdk/branches/develop/mustella/tests/mobile/StageText/styles/baselines/TextInput/StageText_TextInput_fontSize_nominal_36@android_240ppi.png
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/StageText/styles/baselines/TextInput/StageText_TextInput_fontSize_nominal_36%40android_240ppi.png?rev=1437657&r1=1437656&r2=1437657&view=diff
==============================================================================
Binary files - no diff available.

Modified: flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/StageText.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/StageText.mxml?rev=1437657&r1=1437656&r2=1437657&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/StageText.mxml (original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/StageText.mxml Wed Jan 23 19:47:18 2013
@@ -33,6 +33,91 @@
 		s|TextArea {
 			skinClass: ClassReference("spark.skins.mobile.StageTextAreaSkin");
 		}
+		
+		@font-face {
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: "_sans";
+			embedAsCFF: false;
+		}
+		
+		@font-face {
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontFamily: "_sans";
+			fontWeight: bold;
+			embedAsCFF: false;
+		}
+		
+		@font-face {
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontFamily: "_sans";
+			fontStyle: italic;
+			embedAsCFF: false;
+		}
+		
+		@font-face {
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-BoldItalic.ttf");
+			fontFamily: "_sans";
+			fontWeight: bold;
+			fontStyle: italic;
+			embedAsCFF: false;
+		}
+
+		@font-face {
+			src: url("../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Regular.ttf");
+			fontFamily: "_serif";
+			embedAsCFF: false;
+		}
+		
+		@font-face {
+			src: url("../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Bold.ttf");
+			fontFamily: "_serif";
+			fontWeight: bold;
+			embedAsCFF: false;
+		}
+		
+		@font-face {
+			src: url("../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Italic.ttf");
+			fontFamily: "_serif";
+			fontStyle: italic;
+			embedAsCFF: false;
+		}
+		
+		@font-face {
+			src: url("../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-BoldItalic.ttf");
+			fontFamily: "_serif";
+			fontWeight: bold;
+			fontStyle: italic;
+			embedAsCFF: false;
+		}
+
+		@font-face {
+			src: url("../../../../Assets/Fonts/Cousine/Cousine-Regular.ttf");
+			fontFamily: "_typewriter";
+			embedAsCFF: false;
+		}
+		
+		@font-face {
+			src: url("../../../../Assets/Fonts/Cousine/Cousine-Bold.ttf");
+			fontFamily: "_typewriter";
+			fontWeight: bold;
+			embedAsCFF: false;
+		}
+		
+		@font-face {
+			src: url("../../../../Assets/Fonts/Cousine/Cousine-Italic.ttf");
+			fontFamily: "_typewriter";
+			fontStyle: italic;
+			embedAsCFF: false;
+		}
+		
+		@font-face {
+			src: url("../../../../Assets/Fonts/Cousine/Cousine-BoldItalic.ttf");
+			fontFamily: "_typewriter";
+			fontWeight: bold;
+			fontStyle: italic;
+			embedAsCFF: false;
+		}
+
 	</fx:Style>
 
 	<fx:Script>