11 Replies Latest reply: Feb 3, 2010 8:08 AM by JabbyPandaUA RSS

    Not all chinese characters display correctly with non-embedded text

    JabbyPandaUA Community Member

      Hi all,

       

        I've updated to the last beta 2 of Flash Player 10.1 (10,1,51,66) and compiled this simple Flex application to illustrate the fact that not all chinese characters can be displayed correctly with non-embedded text (device font).

       

      
      <?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/halo" 
                     minWidth="1024" minHeight="768"
                     creationComplete="resourceManager.localeChain = ['zh_CN'];"
                     layout="{new VerticalLayout()}">            
          <fx:Script>
              <![CDATA[
                  import spark.layouts.VerticalLayout;
              ]]>
          </fx:Script>
          <s:Label text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝">
      
          </s:Label>
          <mx:Label text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝"/>        
      </s:Application>
      
      
      
      

       

        Notice that characters from the Unicode range 0x4F1E .. 0x4А2D are not displayed within <s:Label> component that uses Flash Text Engine (FTE) by default to display the text, but at the same time those characters display just fine within older <mx:Label> component that relies on flash.text.TextField instance to render the text.