HI Simon,


Since swfmill version 0.2.11, some undocumented features lies under the 
hood.
Here are some that could be easily added to your Swf.Font task :


---------
   Font and Text Improvements

Additionally, the <font/> element now takes a "name" property to 
override the font family name. The family name is used for 
specification of the TextFormat from ActionScript, and also for 
"uniting" the faces (bold, italic) of a family. So, if you want html 
textfields with <b>s and <i>s and such, make sure you import the needed 
faces separately, but all with the same name. The default family name 
is the one specified in the .TTF, it is printed out if you run swfmill 
with the -v (verbose) option.

I made a small sample to test font usage with fp8, see
   http://0xDF.com/?p=50

---------

It's fairly easy to add this by ourself, btw, could you add a "name" 
attribute to the next release ?
If not, I'd be able to send you the necessary code.

Thanks.
-----------
erixtekila
http://blog.v-i-a.net/


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to