Package flash.swf.tags

Examples of flash.swf.tags.DefineFont3


    private FontBuilder(int code, boolean hasLayout, boolean useFlashType)
    {
        if (code == Tag.stagDefineFont2)
            tag = new DefineFont2();
        else if (code == Tag.stagDefineFont3)
            tag = new DefineFont3();
        else
            throw new SWFFontNotSupportedException("Cannot build DefineFont for SWF tag code " + code);

        tag.hasLayout = hasLayout;
        glyphEntryMap = new IntMap(100); //Sorted by code point order
View Full Code Here


        if (Trace.font)
            Trace.trace("Building font '" + tag.fontName + "' with " + count + " characters.");

      if (flashType && tag instanceof DefineFont3)
      {
          DefineFont3 df3 = (DefineFont3)tag;
          df3.zones = new DefineFontAlignZones();
          df3.zones.font = df3;
          df3.zones.zoneTable = new ZoneRecord[count];
        df3.zones.csmTableHint = 1;
      }
View Full Code Here

TOP

Related Classes of flash.swf.tags.DefineFont3

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.