error message tweak

This commit is contained in:
benfry
2010-08-06 13:11:24 +00:00
parent 9c91d09d18
commit c2cdc19a62

View File

@@ -584,7 +584,7 @@ public class PGraphicsPDF extends PGraphicsJava2D {
"when drawing text using the PDF library.");
} else if (textMode != SHAPE) {
if (textFont.isStream()) {
throw new RuntimeException("Use textMode(SHAPE) with when loading " +
throw new RuntimeException("Use textMode(SHAPE) with PDF when loading " +
".ttf and .otf files with createFont().");
} else if (mapper.getAliases().get(textFont.getName()) == null) {
//System.out.println("alias for " + name + " = " + mapper.getAliases().get(name));