Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-5829

Unicode range is being ignored for embedded fonts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 2.0 (Release)
    • Embedded Fonts
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      When specifying a unicode range, the entire font is being embedded instead of just the range that is specified.

      Reproduction:
      <?xml version="1.0" encoding="iso-8859-1"?>
      <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" width="1000" height="1000">

      <mx:Style>
      @font-face

      { font-family:myfont1; src:local("akbar"); unicode-range: U+0041; }

      @font-face

      { font-family:myfont2; src:local("arial"); unicode-range: U+0041-U+0041; }

      @font-face

      { font-family:myfont3; src:local("georgia"); unicode-range: U+0041-U+0049; }

      .mystyle1

      {font-family:myfont1;font-size:24pt;}

      .mystyle2

      {font-family:myfont2;font-size:24pt;}

      .mystyle3

      {font-family:myfont3;font-size:24pt;}

      </mx:Style>
      <mx:Label width = "800" id ="lbl1" styleName="mystyle1" text="A" />
      <mx:Label width = "800" id ="lbl12" styleName="mystyle1" text="B" />

      <mx:Label width = "800" id ="lbl2" styleName="mystyle2" text="A" />
      <mx:Label width = "800" id ="lbl21" styleName="mystyle2" text="B" />

      <mx:Label width = "800" id ="lbl3" styleName="mystyle3" text="ABCDEFGHI" />
      <mx:Label width = "800" id ="lbl31" styleName="mystyle3" text="ABCDEFGHILMNOP" />

      </mx:Application>
      Actual Results:
      A
      B
      A
      B
      ABCDEFGHI
      ABCDEFGHILMNOP

      Expected Results:
      A

      A

      ABCDEFGHI

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: