aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fonts/FontTriplet.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fonts/FontTriplet.java')
-rw-r--r--src/java/org/apache/fop/fonts/FontTriplet.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/java/org/apache/fop/fonts/FontTriplet.java b/src/java/org/apache/fop/fonts/FontTriplet.java
index c14634460..945739077 100644
--- a/src/java/org/apache/fop/fonts/FontTriplet.java
+++ b/src/java/org/apache/fop/fonts/FontTriplet.java
@@ -39,14 +39,6 @@ public class FontTriplet implements Comparable<FontTriplet>, Serializable {
private transient String key;
/**
- * Creates a new font triplet (for base14 use).
- * @param name font name
- */
- public FontTriplet(String name) {
- this.name = name;
- }
-
- /**
* Creates a new font triplet.
* @param name font name
* @param style font style (normal, italic etc.)
@@ -64,7 +56,7 @@ public class FontTriplet implements Comparable<FontTriplet>, Serializable {
* @param priority priority of this triplet/font mapping
*/
public FontTriplet(String name, String style, int weight, int priority) {
- this(name);
+ this.name = name;
this.style = style;
this.weight = weight;
this.priority = priority;