Package org.foray.font.format

Examples of org.foray.font.format.TTFFile


    /**
     * Parses the font contents for needed information.
     */
    public void parseFont() {
        final TTFFile ttfFile = (TTFFile)
                getRegisteredFont().getFontFileReader().createFontFile();
        final String fontName = getRegisteredFont().getTTCName();
        try {
            this.ttf = ttfFile.getTTFFont(fontName);
        } catch (final IOException e) {
            getLogger().error(e.getMessage());
        }

        /*
 
View Full Code Here

TOP

Related Classes of org.foray.font.format.TTFFile

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.