Reinstate embedded fonts (we need them for the rotated text, d'oh) but move to a...
[potlatch2.git] / net / systemeD / halcyon / WayUI.as
index 48a0efc69d151625db891e197dc97893d16ef923..fe0527aedd96befe2b276d074cf7ba5609c53f2a 100755 (executable)
@@ -29,8 +29,6 @@ package net.systemeD.halcyon {
                        antiAliasType: AntiAliasType.ADVANCED,
                        gridFitType: GridFitType.NONE
                };
-//             [Embed(source="fonts/DejaVuSans.ttf", fontFamily="DejaVu", fontWeight="normal", mimeType="application/x-font-truetype")]
-//             public static var DejaVu:Class;
                public var nameformat:TextFormat;
 
 
@@ -316,10 +314,10 @@ package net.systemeD.halcyon {
 
                private function rotatedLetter(char:String, t:Number, w:Number, h:Number, a:Number, o:Number):TextField {
                        var tf:TextField = new TextField();
-                       tf.embedFonts = true;
             tf.mouseEnabled = false;
             tf.mouseWheelEnabled = false;
                        tf.defaultTextFormat = nameformat;
+                       tf.embedFonts = true;
                        tf.text = char;
                        tf.width = tf.textWidth+4;
                        tf.height = tf.textHeight+4;