Re: [swfmill] Font glyphs range

2006-05-26 Thread Steve Webster
 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]

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

font name=test

unicode-rangeU+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=PunctuationU+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


Re: [swfmill] Font glyphs range

2006-05-26 Thread Steve Webster
On 5/26/06, Quentin [EMAIL PROTECTED] wrote:
 Good idea!
 I vote for the second option...

I was thinking that both would be implemented so you could pick and choose.

Steve

-- 
Steve Webster
http://dynamicflash.com

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


Re: [swfmill] Font glyphs range

2006-05-26 Thread Quentin
Good idea!I vote for the second option...Cheers !On 5/26/06, Steve Webster [EMAIL PROTECTED]
 wrote: 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]Hmmminteresting idea. We should maybe take our lead from the Flex:font name=test
unicode-rangeU+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=PunctuationU+0020-U+002F,U+003A-U+0040,U+005B-U+0060,U+007B-U+007E/unicode-rangefont name=test use-unicode-range=Punctuation/
font name=test2 use-unicode-range=Punctuation/Thoughts everyone?Steve--Steve Websterhttp://dynamicflash.com___
swfmill mailing listswfmill@osflash.orghttp://osflash.org/mailman/listinfo/swfmill_osflash.org

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


Re: [swfmill] Font glyphs range

2006-05-26 Thread Quentin
Even better !On 5/26/06, Steve Webster [EMAIL PROTECTED] wrote:
On 5/26/06, Quentin [EMAIL PROTECTED] wrote: Good idea! I vote for the second option...I was thinking that both would be implemented so you could pick and choose.
Steve--Steve Websterhttp://dynamicflash.com___swfmill mailing list
swfmill@osflash.orghttp://osflash.org/mailman/listinfo/swfmill_osflash.org
___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Font glyphs range

2006-05-26 Thread erixtekila
Great Steve.

But I admit this not really my idea, but KineticFusion's authir ones.
Great tool I must admit.
---
erixtekila
http://blog.v-i-a.net/


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


Re: [swfmill] Font glyphs range

2006-05-26 Thread Nick Farina
This would be fantastic, it would really help me with adding better
font embedding options to FlashDevelop (which calls swfmill).


On 5/26/06, Steve Webster [EMAIL PROTECTED] wrote:
  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]

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

 font name=test
 
 unicode-rangeU+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=PunctuationU+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


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


[swfmill] Fwd: DefineFonts3 and Font metrics

2006-05-26 Thread erixtekila
Any thought on this ?

Début du message réexpédié :

 De: erixtekila [EMAIL PROTECTED]
 Date: 25 mai 2006 20:28:33 GMT+02:00
 À: swfmill@osflash.org
 Objet: DefineFonts3 and Font metrics

 Hi,


 It seems that swf8 define new tags for font metrics.
 swfmill doesn't actually output that when version=8 is used.

 Here are the tags :
 UnknownTag id=0x4B
 UnknownTag id=0x49

 There also seems to have another one for anti-aliasing (tag 74)
 Seems to be a bytecode equivalent to :
 TextRenderer.setAdvancedAntialiasingTable
 
 public static setAdvancedAntialiasingTable(fontName:String, 
 fontStyle:String, colorType:String, advancedAntialiasingTable:Array) : 
 Void
 Sets a custom continuous stroke modulation (CSM) lookup table for a 
 font. This is an advanced method.

 Flash Player only includes advanced anti-aliasing settings for 10 
 basic fonts; and for these fonts, advanced anti-aliasing settings are 
 only provided for the font sizes from 6 to 20. For these fonts, all 
 sizes below 6 use the settings for 6; all sizes above 20 use the 
 settings for 20. Other fonts map to the supplied font data. The 
 setAdvancedAntialiasingTable() method lets you set custom 
 anti-aliasing data for other fonts and font sizes, or override the 
 default settings for the provided fonts.
 

 I've found on this reference good infos about that :
 http://wiki.jswiff.com/Wiki.jsp?page=Flash8Tags

 Is it a hard job to implement that ?



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



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


Re: [swfmill] Font glyphs range

2006-05-26 Thread erixtekila


 This would be fantastic, it would really help me with adding better
 font embedding options to FlashDevelop (which calls swfmill).

FYI, there is already a glyph attribute iin font tag that permit the 
embedding or certain font.

Did you know ?
Best.

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


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