aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf/PDFFontNonBase14.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/pdf/PDFFontNonBase14.java')
-rw-r--r--src/java/org/apache/fop/pdf/PDFFontNonBase14.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFFontNonBase14.java b/src/java/org/apache/fop/pdf/PDFFontNonBase14.java
index b97d5deec..9b6cef618 100644
--- a/src/java/org/apache/fop/pdf/PDFFontNonBase14.java
+++ b/src/java/org/apache/fop/pdf/PDFFontNonBase14.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -16,7 +16,7 @@
*/
/* $Id$ */
-
+
package org.apache.fop.pdf;
import org.apache.fop.fonts.FontType;
@@ -70,7 +70,7 @@ public abstract class PDFFontNonBase14 extends PDFFont {
public PDFFontDescriptor getDescriptor() {
return (PDFFontDescriptor)get("FontDescriptor");
}
-
+
/**
* Sets a ToUnicode CMap.
* @param cmap the ToUnicode character map
@@ -78,15 +78,15 @@ public abstract class PDFFontNonBase14 extends PDFFont {
public void setToUnicode(PDFCMap cmap) {
put("ToUnicode", cmap);
}
-
+
/** {@inheritDoc} */
protected void validate() {
if (getDocumentSafely().getProfile().isFontEmbeddingRequired()) {
if (this.getDescriptor().getFontFile() == null) {
- throw new PDFConformanceException("For " + getDocumentSafely().getProfile()
+ throw new PDFConformanceException("For " + getDocumentSafely().getProfile()
+ ", all fonts have to be embedded!");
}
}
}
-
+
}