Examples of canSubset()


Examples of com.adobe.dp.otf.OpenTypeFont.canSubset()

            try {
              FontProperties prop = new FontProperties(entry.familyName, entry.weight, entry.style);
              FontInputStream stream = fontLocator.locateFont(prop);
              if (stream != null) {
                OpenTypeFont font = new OpenTypeFont(stream);
                if (font.canEmbedForReading() && font.canSubset()) {
                  subsetter = new SubsetterEntry();
                  subsetter.font = font;
                  subsetters.put(entry, subsetter);
                  entry.subsetter = subsetter;
                } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.