diff options
author | Glenn Adams <gadams@apache.org> | 2014-10-14 02:28:08 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2014-10-14 02:28:08 +0000 |
commit | f5c6b91c2c4925c0c85afc3851769f8a6b08f4b1 (patch) | |
tree | 03b20955a11f3c2162e35856ca7e554bfae40911 /src/java/org/apache/fop/render/java2d | |
parent | c54cb7efe6d808e67882930e828e3bd89ee976b9 (diff) | |
download | xmlgraphics-fop-f5c6b91c2c4925c0c85afc3851769f8a6b08f4b1.tar.gz xmlgraphics-fop-f5c6b91c2c4925c0c85afc3851769f8a6b08f4b1.zip |
FOP-2249: elide formatting controls - preliminary
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1631605 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/java2d')
-rw-r--r-- | src/java/org/apache/fop/render/java2d/CustomFontMetricsMapper.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/java2d/CustomFontMetricsMapper.java b/src/java/org/apache/fop/render/java2d/CustomFontMetricsMapper.java index fcb913d53..62283915f 100644 --- a/src/java/org/apache/fop/render/java2d/CustomFontMetricsMapper.java +++ b/src/java/org/apache/fop/render/java2d/CustomFontMetricsMapper.java @@ -268,9 +268,10 @@ public class CustomFontMetricsMapper extends Typeface implements FontMetricsMapp /** * {@inheritDoc} */ - public CharSequence performSubstitution(CharSequence cs, String script, String language, List associations) { + public CharSequence performSubstitution(CharSequence cs, String script, String language, List associations, + boolean retainControls) { if (typeface instanceof Substitutable) { - return ((Substitutable) typeface).performSubstitution(cs, script, language, associations); + return ((Substitutable) typeface).performSubstitution(cs, script, language, associations, retainControls); } else { return cs; } |