Examples of Cmap12


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

Examples of org.foray.ps.encode.CMap12

    /**
     * {@inheritDoc}
     */
    public Cmap12 makeCmap12(final String name, final int expectedEntries) {
        return new CMap12(name, expectedEntries);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.