feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR
https://feathersui.com/learn/as3-starling/
Other
914 stars 386 forks source link

metalworks and embedfonts with desktop #843

Closed SamYStudiO closed 10 years ago

SamYStudiO commented 10 years ago

I'm trying to get embedFonts work with desktop, actually when testing with a device, components are using the right sans embed font (SourceSansPro-Regular.ttf) but when testing from desktop i got a non embed font with serif).

joshtynjala commented 10 years ago

I can see the fonts when testing on desktop. In not aware of any issues where it would work on mobile but not desktop.

SamYStudiO commented 10 years ago

Ok just figured out you need to compile with asc2 to make embedAsCFF work

joshtynjala commented 10 years ago

embedAsCFF was introduced before ASC 2.0. Flex 4 used FTE for rendering text in the Spark components, so at least that far back. With that in mind, you should be able to use embedAsCFF with the old compiler, as long as you aren't using a very old version of it. Flex SDK 4.6 should be acceptable (any at least a few versions before that too, but you might as well use the latest).

I'm glad that you got it working, though.

SamYStudiO commented 10 years ago

Ok found another solution instead of using asc2 adding "-managers=flash.fonts.CFFFontManager" to compiler arguments also fixed it.