aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2021-10-26 11:06:09 +0000
committerSimon Steiner <ssteiner@apache.org>2021-10-26 11:06:09 +0000
commit1d69d983df29dd46aa85abbe831d146dc7cece32 (patch)
treea20975e940fc8f3181ce932486691c8370a19411
parenteaeaa5cea448ff84e22071fa2c46b7e3d65fb9b4 (diff)
downloadxmlgraphics-fop-1d69d983df29dd46aa85abbe831d146dc7cece32.tar.gz
xmlgraphics-fop-1d69d983df29dd46aa85abbe831d146dc7cece32.zip
FOP-3031: Add MCF before MDR in AFP
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1894577 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java b/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java
index 687fea75f..ce4825a05 100644
--- a/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java
+++ b/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java
@@ -275,23 +275,6 @@ public final class ActiveEnvironmentGroup extends AbstractEnvironmentGroup {
}
/**
- * Getter method for the most recent MapCodedFont added to the
- * Active Environment Group (returns null if no MapCodedFonts exist)
- *
- * @return the most recent Map Coded Font.
- */
- private MapCodedFont getCurrentMapCodedFont() {
- int size = mapCodedFonts.size();
- if (size > 0) {
- AbstractStructuredObject font = mapCodedFonts.get(size - 1);
- if (font instanceof MapCodedFont) {
- return (MapCodedFont) font;
- }
- }
- return null;
- }
-
- /**
* Add map page segment.
* @param name of segment to add
*/