@Override public boolean hasGlyph(String name) throws IOException { return genericFont.hasGlyph(getNameInFont(name)); }
@Override public GeneralPath getPath(String name) throws IOException { // Acrobat does not draw .notdef for Type 1 fonts, see PDFBOX-2421 // I suspect that it does do this for embedded fonts though, but this is untested if (name.equals(".notdef") && !isEmbedded) { return new GeneralPath(); } else { return genericFont.getPath(getNameInFont(name)); } }
public String codeToName(int code) throws IOException { String name = getEncoding().getName(code); return getNameInFont(name); }
String nameInFont = getNameInFont(name);
@Override public boolean hasGlyph(String name) throws IOException { return genericFont.hasGlyph(getNameInFont(name)); }
@Override public GeneralPath getPath(String name) throws IOException { // Acrobat does not draw .notdef for Type 1 fonts, see PDFBOX-2421 // I suspect that it does do this for embedded fonts though, but this is untested if (name.equals(".notdef") && !isEmbedded) { return new GeneralPath(); } else { return genericFont.getPath(getNameInFont(name)); } }
@Override public boolean hasGlyph(String name) throws IOException { return genericFont.hasGlyph(getNameInFont(name)); }
@Override public GeneralPath getPath(String name) throws IOException { // Acrobat does not draw .notdef for Type 1 fonts, see PDFBOX-2421 // I suspect that it does do this for embedded fonts though, but this is untested if (name.equals(".notdef") && !isEmbedded) { return new GeneralPath(); } else { return genericFont.getPath(getNameInFont(name)); } }
public String codeToName(int code) throws IOException { String name = getEncoding().getName(code); return getNameInFont(name); }
public String codeToName(int code) throws IOException { String name = getEncoding().getName(code); return getNameInFont(name); }
String nameInFont = getNameInFont(name);
String nameInFont = getNameInFont(name);