> Could it be possible as an addition to swfmill simple language to add a
> new attribute to font element ?
> I propose glyph-range, but it could be utf-range or something.
>
> The purpose could be to embed certain glyph based on their utf-8 code
> in the table.
>
> I've for example face dtrouble to embed special chars from eclipse's
> ant on osx (you'll say 'im dumb ;).
> If it was possible to specify a character range in the utf table, that
> could be interesting for some.
> Something like :
>
> <font name="test" glyph-range="[a-z-0-9]">

Hmmm....interesting idea. We should maybe take our lead from the Flex:

<font name="test">
    
<unicode-range>U+0020-U+002F,U+003A-U+0040,U+005B-U+0060,U+007B-U+007E</unicode-range>
</font>

...and also be able to define named ranges to use in several <font/>
definitions:

<unicode-range 
name="Punctuation">U+0020-U+002F,U+003A-U+0040,U+005B-U+0060,U+007B-U+007E</unicode-range>

<font name="test" use-unicode-range="Punctuation"/>
<font name="test2" use-unicode-range="Punctuation"/>

Thoughts everyone?

Steve

-- 
Steve Webster
http://dynamicflash.com

_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to