0 Replies Latest reply on May 21, 2008 7:44 AM by Peter Farland

    [svn] 1806: A prototype for generating DefineFont4 tags from OpenType CFF font files for use in Flash Player 10 .

    Peter Farland Level 3
      Revision: 1806
      Author: pfarland@adobe.com
      Date: 2008-05-21 08:44:10 -0700 (Wed, 21 May 2008)

      Log Message:
      -----------
      A prototype for generating DefineFont4 tags from OpenType CFF font files for use in Flash Player 10. Currently this is limited to embedding the entire set of glyphs and only for OpenType CFF based files. Support for caching, subsetting and other file formats will be added later.

      Since DefineFont4 is not a continuation of DefineFont2 or DefineFont3, this change required some refactoring in how Flex's FontTranscoder interacts with its FontManagers. Use of a helper FontBuilder class has been pushed down into the legacy FontManagers and Flex's FontTranscoder simply asks a FontManager to create the DefineFont tag directly. The CFFFontManager does not need to make use of FontBuilder and creates DefineFont4 instances directly.

      QA: Not yet
      Doc: No
      Checkintests: Pass
      Font mxunit tests: Pass
      Review: Paul

      Modified Paths:
      --------------
      flex/sdk/trunk/lib/afe.jar
      flex/sdk/trunk/lib/aglj32.jar
      flex/sdk/trunk/lib/flex-fontkit.jar
      flex/sdk/trunk/lib/rideau.jar
      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
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagEncoder.java