Package org.axsl.ps

Examples of org.axsl.ps.Type1FontInfoDictionary


    /**
     * Returns the PostScript name of this font, as parsed.
     * @return The PostScript name of this font.
     */
    public String getFamilyName() {
        final Type1FontInfoDictionary fontInfo = getFontDictionary().getFontInfoDictionary();
        if (fontInfo == null) {
            return null;
        }
        return fontInfo.getFamilyName();
    }
View Full Code Here


        final Type1FontDictionary fontDict = pfbFile.getFontDictionary();
        assertNotNull(fontDict);

        /* Test values below obtained from the AFM file. */

        final Type1FontInfoDictionary fontInfoDict = fontDict.getFontInfoDictionary();
        assertNotNull(fontInfoDict);

        final String fontName = fontDict.getFontName();
        assertEquals("CMR10", fontName);

View Full Code Here

TOP

Related Classes of org.axsl.ps.Type1FontInfoDictionary

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.