aboutsummaryrefslogtreecommitdiffstats
path: root/test/config/test_font_embedurl_bad.xconf
blob: 86bf6bc3d595c3a532abb5e4a49457b8e1ce5223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0"?>
<fop version="1.0">
  <!-- Strict configuration On -->
  <strict-configuration>true</strict-configuration>

  <!-- Switch off font caching for the purposes of the unit test -->
  <use-cache>false</use-cache>  
  
  <!-- Base URL for resolving relative URLs -->
  <base>./</base>

  <!-- Font Base URL for resolving relative font URLs -->
  <font-base>./</font-base>
  
  <renderers>
    <renderer mime="application/pdf">
      <fonts>
		<!-- this font has an embed-url that does not exist on filesystem -->
		<font metrics-url="test/resources/fonts/glb12.ttf.xml" embed-url="test/resources/fonts/doesnotexist.ttf">
          <font-triplet name="Gladiator-Ansi" style="normal" weight="normal"/>
        </font>
      </fonts>
    </renderer>
  </renderers>
</fop>