Closed SamYStudiO closed 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.
Ok just figured out you need to compile with asc2 to make embedAsCFF work
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.
Ok found another solution instead of using asc2 adding "-managers=flash.fonts.CFFFontManager" to compiler arguments also fixed it.
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).