Package org.docx4j.fonts.fop.fonts.type1

Examples of org.docx4j.fonts.fop.fonts.type1.AFMFile


        if (type1) {
            if (encodingMode == EncodingMode.CID) {
                throw new IllegalArgumentException(
                        "CID encoding mode not supported for Type 1 fonts");
            }
            loader = new Type1FontLoader(fontFileURI, embedded, useKerning, resolver);
        } else {
            loader = new TTFFontLoader(fontFileURI, subFontName,
                    embedded, encodingMode, useKerning, resolver);
        }
        return loader.getFont();
View Full Code Here

TOP

Related Classes of org.docx4j.fonts.fop.fonts.type1.AFMFile

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.