0 Replies Latest reply on Apr 24, 2008 6:54 AM by Peter Farland

    [svn] 1384: Splitting DefineFont into the various DefineFont 1, 2, 3, etc SWF tag formats but retaining a common base DefineFont class so that embedded fonts are still retained as symbols for the SWF dictionary no matter what version of the SWF tag is us

    Peter Farland Level 3
      Revision: 1384
      Author: pfarland@adobe.com
      Date: 2008-04-24 07:54:58 -0700 (Thu, 24 Apr 2008)

      Log Message:
      -----------
      Splitting DefineFont into the various DefineFont 1, 2, 3, etc SWF tag formats but retaining a common base DefineFont class so that embedded fonts are still retained as symbols for the SWF dictionary no matter what version of the SWF tag is used.

      Also improving [Embed] so that it can recognize .TTC files as assets (previously these were only recognized through CSS @font-face rules).

      QE: Yes, please add a test case for using [Embed] to embed fonts from a TTC file in addition to our tests for @font-face. Note that the AFEFontManager must be configured for this scenario.
      Doc: No
      Checkintests: Pass
      Mxunit: AtEmbed Font suite: Pass

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/AbstractTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/FontTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MimeMappings.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/CachedFontManager.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/Dictionary.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/MovieEncoder.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagDecoder.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagEncoder.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagHandler.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagValues.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/builder/tags/FontBuilder.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFontAlignZones.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFontInfo.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

      Added Paths:
      -----------
      flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/DefineFont3Face.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont1.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont2.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont3.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont4.java

      Removed Paths:
      -------------
      flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/DefineFontFace.java