| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <!-- $Id$ --> |
| |
| <!-- |
| FOP configuration for the barcode.fo example. |
| --> |
| |
| <fop version="1.0"> |
| |
| <!-- Base URL for resolving relative URLs --> |
| <base>.</base> |
| |
| <!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi --> |
| <source-resolution>72</source-resolution> |
| <!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi --> |
| <target-resolution>72</target-resolution> |
| |
| <!-- Default page-height and page-width, in case |
| value is specified as auto --> |
| <default-page-settings height="11in" width="8.26in"/> |
| |
| <!-- Information for specific renderers --> |
| <!-- Uses renderer mime type for renderers --> |
| <renderers> |
| <renderer mime="application/pdf"> |
| <filterList> |
| <!-- provides compression using zlib flate (default is on) --> |
| <value>flate</value> |
| |
| <!-- encodes binary data into printable ascii characters (default off) |
| This provides about a 4:5 expansion of data size --> |
| <!-- <value>ascii-85</value> --> |
| |
| <!-- encodes binary data with hex representation (default off) |
| This filter is not recommended as it doubles the data size --> |
| <!-- <value>ascii-hex</value> --> |
| </filterList> |
| |
| <fonts> |
| <font metrics-url="examples/fo/advanced/K3.xml" kerning="no" embed-url="examples/fo/advanced/K3.ttf"> |
| <font-triplet name="Barcode" style="normal" weight="normal"/> |
| </font> |
| </fonts> |
| </renderer> |
| |
| <renderer mime="application/postscript"/> |
| <renderer mime="application/vnd.hp-PCL"/> |
| |
| <renderer mime="image/svg+xml"> |
| <format type="paginated"/> |
| <link value="true"/> |
| <strokeText value="false"/> |
| </renderer> |
| |
| <renderer mime="application/awt"/> |
| |
| <renderer mime="image/png"/> |
| |
| <renderer mime="image/tiff/"> |
| </renderer> |
| |
| <renderer mime="text/xml"/> |
| |
| <renderer mime="text/plain"> |
| <pageSize columns="80"/> |
| </renderer> |
| |
| </renderers> |
| |
| </fop> |
| |