From c2cdc19a620cb00b4b98132475420b575cf4b7a6 Mon Sep 17 00:00:00 2001 From: benfry Date: Fri, 6 Aug 2010 13:11:24 +0000 Subject: [PATCH] error message tweak --- pdf/src/processing/pdf/PGraphicsPDF.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf/src/processing/pdf/PGraphicsPDF.java b/pdf/src/processing/pdf/PGraphicsPDF.java index c91eba581..a544ee9eb 100644 --- a/pdf/src/processing/pdf/PGraphicsPDF.java +++ b/pdf/src/processing/pdf/PGraphicsPDF.java @@ -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));