diff options
author | Glenn Adams <gadams@apache.org> | 2014-09-09 23:43:58 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2014-09-09 23:43:58 +0000 |
commit | 6300064cb5a8b81d91c4a105f74315fd11ada39d (patch) | |
tree | b70e8de94cf74d7b6c372c2df7e0a9c05d044727 /src/java/org/apache/fop/fonts/LazyFont.java | |
parent | 849cddb89e37010013bc6897daaba6ff8e93c88c (diff) | |
download | xmlgraphics-fop-6300064cb5a8b81d91c4a105f74315fd11ada39d.tar.gz xmlgraphics-fop-6300064cb5a8b81d91c4a105f74315fd11ada39d.zip |
FOP-2213 use kern table when no GPOS kern lookups are present
FOP-2094 preliminary support for mapping OTF script tags from @script property
FOP-2094 when no lookups match specified or auto script, retry using DFLT script
FOP-2093 preliminary support for mapping OTF language tags from @language property
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1623885 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fonts/LazyFont.java')
-rw-r--r-- | src/java/org/apache/fop/fonts/LazyFont.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fonts/LazyFont.java b/src/java/org/apache/fop/fonts/LazyFont.java index acce1e0f9..fb0d8f06f 100644 --- a/src/java/org/apache/fop/fonts/LazyFont.java +++ b/src/java/org/apache/fop/fonts/LazyFont.java @@ -317,6 +317,12 @@ public class LazyFont extends Typeface implements FontDescriptor, Substitutable, return realFont.getKerningInfo(); } + /** {@inheritDoc} */ + public boolean hasFeature(int tableType, String script, String language, String feature) { + load(true); + return realFont.hasFeature(tableType, script, language, feature); + } + // ---- FontDescriptor interface ---- /** * {@inheritDoc} |