Package org.apache.fontbox.ttf

Examples of org.apache.fontbox.ttf.Type1Equivalent


            type1Equivalent = cffFont;
            isEmbedded = true;
        }
        else
        {
            Type1Equivalent t1Equiv = ExternalFonts.getType1EquivalentFont(getBaseFont());
            if (t1Equiv != null)
            {
                type1Equivalent = t1Equiv;
            }
            else
View Full Code Here


        {
            type1Equivalent = type1font;
        }
        else
        {
            Type1Equivalent t1Equiv = ExternalFonts.getType1EquivalentFont(getBaseFont());
            if (t1Equiv != null)
            {
                type1Equivalent = t1Equiv;
            }
            else
View Full Code Here

     * we attempt to find a good fallback based on the font descriptor.
     */
    public static Type1Equivalent getType1FallbackFont(PDFontDescriptor fontDescriptor)
    {
        String fontName = getFallbackFontName(fontDescriptor);
        Type1Equivalent type1Equivalent = getType1EquivalentFont(fontName);
        if (type1Equivalent == null)
        {
            String message = fontProvider.toDebugString();
            if (message != null)
            {
View Full Code Here

TOP

Related Classes of org.apache.fontbox.ttf.Type1Equivalent

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.