Reinstate embedded fonts (we need them for the rotated text, d'oh) but move to a...
[potlatch2.git] / net / systemeD / halcyon / styleparser / TextStyle.as
index 056e87c2c28492a8134401ee51ee0e18dbbc93e2..eb2b2a5058f379925cd965f9c429dbe1e6541d40 100644 (file)
@@ -23,7 +23,7 @@ package net.systemeD.halcyon.styleparser {
                public var sublayer:uint=0;
 
                public function getTextFormat():TextFormat {
-                       return new TextFormat(font_name   ? font_name : "_sans",
+                       return new TextFormat(font_name   ? font_name : "DejaVu",
                                                                  text_size   ? text_size : 8,
                                                                  text_colour ? text_colour: 0,
                                                                  font_bold   ? font_bold : false,
@@ -41,7 +41,7 @@ package net.systemeD.halcyon.styleparser {
                        var tf:TextField = new TextField();
                        var n:TextFormat = getTextFormat();
                        n.align = "center";
-//                     tf.embedFonts = true;
+                       tf.embedFonts = true;
                        tf.defaultTextFormat = n;
                        tf.text = a;
                        if (text_width) {