summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2001-02-27 12:30:36 +0000
committerfotis <fotis@unknown>2001-02-27 12:30:36 +0000
commit375b678502231f5577d5b18550c35678d11e11d8 (patch)
treee4a11a39dc47debb1465ec80f686c553caa5a4a6 /conf
parent440ec1d3a5601f93e8798acd8a6325c39a19ddd9 (diff)
downloadxmlgraphics-fop-375b678502231f5577d5b18550c35678d11e11d8.tar.gz
xmlgraphics-fop-375b678502231f5577d5b18550c35678d11e11d8.zip
enabling CID keyed truetype fonts; this gives support
for other encodings than WinAnsiEncoding (eg japanese, chinese, arabic, iso-whatever, etc). Also makes font inclusion easier Tore Engvig git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194095 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'conf')
-rw-r--r--conf/config.xml2
-rw-r--r--conf/userconfig.xml42
2 files changed, 24 insertions, 20 deletions
diff --git a/conf/config.xml b/conf/config.xml
index 3d520fec1..138cb32d5 100644
--- a/conf/config.xml
+++ b/conf/config.xml
@@ -50,4 +50,6 @@
<!-- <value>ascii-hex</value> -->
</list>
</entry>
+ <fonts>
+ </fonts>
</configuration>
diff --git a/conf/userconfig.xml b/conf/userconfig.xml
index 9c962dec8..c5f4b5871 100644
--- a/conf/userconfig.xml
+++ b/conf/userconfig.xml
@@ -42,30 +42,32 @@ basedir: normally the base directory is the directory where the fo file is
<!--
************************************************************************
- Use kerning, default is to noe use kerning, uncomment to use kerning
+ Add fonts here
************************************************************************
-->
- <entry>
- <key>use-kerning</key>
- <value>yes</value>
- </entry>
-
+<fonts>
+ <!-- example -->
+ <!--
+ <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf">
+ <font-triplet name="Arial" style="normal" weight="normal"/>
+ <font-triplet name="ArialMT" style="normal" weight="normal"/>
+ </font>
+ <font metrics-file="arialb.xml" kerning="yes" embed-file="arialb.ttf">
+ <font-triplet name="Arial" style="normal" weight="bold"/>
+ <font-triplet name="ArialMT" style="normal" weight="bold"/>
+ </font>
+ <font metrics-file="ariali.xml" kerning="yes" embed-file="ariali.ttf">
+ <font-triplet name="Arial" style="italics" weight="normal"/>
+ <font-triplet name="ArialMT" style="italics" weight="normal"/>
+ </font>
+ <font metrics-file="arialbi.xml" kerning="yes" embed-file="arialbi.ttf">
+ <font-triplet name="Arial" style="italics" weight="bold"/>
+ <font-triplet name="ArialMT" style="italics" weight="bold"/>
+ </font>
+ -->
+</fonts>
-<!--
-************************************************************************
- Font embedding, only the fonts mentioned here is embedded
- The value is the name of the font (the name is what is returned by
- the font's fontName() method
-************************************************************************
--->
- <entry>
- <key>embed-fonts</key>
- <list>
- <value>Perpetua</value>
- <value>Perpetua,Bold</value>
- </list>
- </entry>
</configuration>