extracted sc files from fileformat.sc -- these examples all work.
[swftools.git] / doc / examples / fonts.sc
diff --git a/doc/examples/fonts.sc b/doc/examples/fonts.sc
new file mode 100644 (file)
index 0000000..678a59d
--- /dev/null
@@ -0,0 +1,12 @@
+# fonts.sc
+#
+# fonts&text
+
+.swf name="fonts.swf"
+    .font courier "Courier.swf"
+    .font helvetica "Helvetica.swf"
+    .text abc text="abcdefghijklmnopqrstuvwxyz" font=courier size=100% color=blue
+    .text abc2 text="abcdefghijklmnopqrstuvwxyz" font=helvetica size=100% color=red
+    .put abc
+    .put abc2 y=200
+.end