0 Replies Latest reply on Jun 11, 2008 12:32 PM by Peter Farland

    [svn] 2044: Adding a 'cff' descriptor for CSS @font-face rules ( which also can be used as an [Embed] metadata property of the same name) for embedding fonts.

    Peter Farland Level 3
      Revision: 2044
      Author: pfarland@adobe.com
      Date: 2008-06-11 13:32:56 -0700 (Wed, 11 Jun 2008)

      Log Message:
      -----------
      Adding a 'cff' descriptor for CSS @font-face rules (which also can be used as an [Embed] metadata property of the same name) for embedding fonts. The final name of this descriptor will need review. The default is currently false by default. You can set the cff descriptor value to true to direct the compiler to embed a particualr font using CFF-based DefineFont4 for SWF 10 (this requires, however, for the CFFFontManager to be configured as the top level font manager and the target-player set to at least 10.0.0). For now, only CFF-based OpenType font files are supported.

      Note the CFFFontManager will delegate to a parent FontManager if the request is not CFF-based.

      Also fixing unicode-character ranges which were found to not work if a font manager delegated to another to do embedding.

      QE: Not yet
      Doc: No
      Checkintests: Pass
      mxunit tests: Pass
      mxmlcunit tests: Pass
      Review: Paul

      Modified Paths:
      --------------
      flex/sdk/trunk/lib/flex-fontkit.jar
      flex/sdk/trunk/modules/compiler/src/java/flash/css/FontFaceRule.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/FontsConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/FontTranscoder.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/CachedFontManager.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/FontManager.java