Package org.apache.flex.swf.tags

Examples of org.apache.flex.swf.tags.DefineFontInfoTag


            codeTable[i] = wideCodes ? codeTableStream.readUI16()
                                     : codeTableStream.readUI8();
        }
        codeTableStream.close();

        DefineFontInfoTag tag = null;
        if (type == TagType.DefineFontInfo)
            tag = new DefineFontInfoTag();
        else
            tag = new DefineFontInfo2Tag();

        tag.setFontTag(fontTag);
        tag.setFontName(fontName);
        tag.setFontFlagsReserved(reserved);
        tag.setFontFlagsSmallText(smallText);
        tag.setFontFlagsShiftJIS(shiftJIS);
        tag.setFontFlagsANSI(ansi);
        tag.setFontFlagsItalic(italic);
        tag.setFontFlagsBold(bold);
        tag.setFontFlagsWideCodes(wideCodes);
        if (type == TagType.DefineFontInfo2)
            ((DefineFontInfo2Tag)tag).setLanguageCode(langCode);
        tag.setCodeTable(codeTable);

        return tag;
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.swf.tags.DefineFontInfoTag

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.