Package org.apache.fontbox.cff

Examples of org.apache.fontbox.cff.Type2CharString


            return cache.get(code);
        }

        try
        {
            Type2CharString charString = font.getType2CharString(cid);

            if (charString.getGID() == 0)
            {
                String cidHex = String.format("%04x", cid);
                LOG.warn("No glyph for " + code + " (CID " + cidHex + ") in font " + fontName);
            }

            GeneralPath path = charString.getPath();
            cache.put(code, path);
            return path;
        }
        catch (IOException e)
        {
View Full Code Here

TOP

Related Classes of org.apache.fontbox.cff.Type2CharString

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.