0 Replies Latest reply on Jun 1, 2009 9:34 AM by Peter Farland

    [svn:fx-trunk] 7467: Removing font face validation so that the requested style is used whether or not it matches what the font describes .

    Peter Farland Level 3

      Revision: 7467

      Author:   pfarland@adobe.com

      Date:     2009-06-01 08:10:15 -0700 (Mon, 01 Jun 2009)

       

      Log Message:

      ***********

      Removing font face validation so that the requested style is used whether or not it matches what the font describes. This allows font families to be constructed from multiple fonts including those that do not describe their style in the OS/2 table. Note SWF and the Flash Player restriction of only support 4 faces per font family (plain, bold, italic, and bold & italic) still applies.

       

      QE: Yes, please look out for negative test cases for embedded font styles that no longer fail. Also look out for minor font outline differences given that we use AFEFontManager by default for DefineFont3 embedded fonts. If you require the legacy font outlines you can configure the test case to use the BatikFontManager (which has been retained for MPL distributions).

      Doc: Yes, we'll release note the relaxed font embedding rules for font faces. I'll annotate the bugs below.

      Reviewer: Paul

      Bugs:

      SDK-14309 - fontWeight should not be restricted

      SDK-14308 - fontWeight: bold is required when specifying certain fonts in the CSS file

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-14309

          http://bugs.adobe.com/jira/browse/SDK-14308

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/flex-config.xml

          flex/sdk/trunk/lib/flex-fontkit.jar

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java

          flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/BatikFontManager.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/fonts/JREFontManager.java