Package org.axsl.ps

Examples of org.axsl.ps.Cmap12


        getReader().skipBytes(ULONG_BYTES);
        final int nGroups = (int) getReader().readUnsignedInt();

        final String encodingName = "internal-"
                + this.ttfFont().getPostscriptName();
        final Cmap12 cmap12 = psServer.makeCmap12(encodingName, nGroups);

        for (int i = 0; i < nGroups; i++) {
            final int startCharCode = (int) getReader().readUnsignedInt();
            final int endCharCode = (int) getReader().readUnsignedInt();
            final int startGlyphCode = (int) getReader().readUnsignedInt();
            cmap12.addEntry(startCharCode, endCharCode, startGlyphCode);
        }
        return cmap12;
    }
View Full Code Here

TOP

Related Classes of org.axsl.ps.Cmap12

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.