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

Using embed-as-cff:false doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Styles
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run code below

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx">
      <fx:Style>
      @namespace s "library://ns.adobe.com/flex/spark";
      @namespace mx "library://ns.adobe.com/flex/mx";

      @font-face

      { src: url("Comic Sans MS.ttf"); font-family: ComicNoCFF; embed-as-cff: false; }

      </fx:Style>

      <mx:Button label="The quick brown qe jumps over the lazy dev." fontFamily="ComicNoCFF" fontSize="32" x="20" y="20" />

      </s:Application>

      Actual Results:
      No text shows up at all

      Expected Results:
      Text should show up in comic sans font (or at a minimum, the text should show up in device text format)

      Workaround (if any):
      Use embedAsCFF:false

      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: