summaryrefslogtreecommitdiffstats
path: root/src/foschema
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-04-03 08:05:14 +0000
committerJeremias Maerki <jeremias@apache.org>2008-04-03 08:05:14 +0000
commit1f0ed2013cfcc24f8071b09ad17c3dd4eec5633f (patch)
tree0ddb23c225f9aa85917310748b95a59ee77b08c5 /src/foschema
parent5adb538c93cbc3892b751e1fccc3dabe1986037f (diff)
downloadxmlgraphics-fop-1f0ed2013cfcc24f8071b09ad17c3dd4eec5633f.tar.gz
xmlgraphics-fop-1f0ed2013cfcc24f8071b09ad17c3dd4eec5633f.zip
Bugzilla #44737:
Added support for auto-configuring TrueType Collections. XML font metrics files for *.ttc fonts are not required anymore. Submitted by: Jason Harrop <jason.at.plutext.org> Changes to patch or in addition to the patch: - Tab chars removed and Checkstyle issues fixed - Some simplifications in the cache handling (CachedFontInfo is obsolete and less cache-private information is exposed to the outside). - TTCs are fully detected and registered with FOP. - TTCs can also be registered using a "font" element. The new "sub-font" attribute selected the sub-font in the TTC. - Bug fixed in TTFFile: Font names were not decoded correctly (ex. font names in Chinese) - Minimal docs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@644208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/foschema')
-rw-r--r--src/foschema/fop-configuration.xsd1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/foschema/fop-configuration.xsd b/src/foschema/fop-configuration.xsd
index c4d9ac47f..94f690342 100644
--- a/src/foschema/fop-configuration.xsd
+++ b/src/foschema/fop-configuration.xsd
@@ -210,6 +210,7 @@
</xsd:sequence>
<xsd:attribute name="metrics-url" type="xsd:anyURI" use="optional"/>
<xsd:attribute name="embed-url" type="xsd:anyURI" use="optional"/>
+ <xsd:attribute name="sub-font" type="xsd:string" use="optional"/>
<xsd:attribute name="kerning" use="optional" default="no">
<xsd:simpleType>
<xsd:restriction base="xsd:string">