- Add a FOP config file and use it
This commit is contained in:
parent
b25caf6d4a
commit
480e4220cf
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/db5/; revision=42254
3 changed files with 51 additions and 1 deletions
50
share/misc/fop.xconf
Normal file
50
share/misc/fop.xconf
Normal file
|
@ -0,0 +1,50 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!-- $FreeBSD$ -->
|
||||
|
||||
<fop version="1.0">
|
||||
|
||||
<base>.</base>
|
||||
|
||||
<hyphenation-base>/usr/local/share/java/fop/hyph/</hyphenation-base>
|
||||
|
||||
<source-resolution>72</source-resolution>
|
||||
<target-resolution>72</target-resolution>
|
||||
|
||||
<default-page-settings height="11in" width="8.26in"/>
|
||||
|
||||
<renderers>
|
||||
<renderer mime="application/pdf">
|
||||
<filterList>
|
||||
<value>flate</value>
|
||||
</filterList>
|
||||
|
||||
<fonts>
|
||||
<auto-detect/>
|
||||
</fonts>
|
||||
|
||||
<!-- This option lets you specify additional options on an XML handler -->
|
||||
<!--xml-handler namespace="http://www.w3.org/2000/svg">
|
||||
<stroke-text>false</stroke-text>
|
||||
</xml-handler-->
|
||||
|
||||
</renderer>
|
||||
|
||||
<renderer mime="application/postscript">
|
||||
<!-- This option forces the PS renderer to rotate landscape pages -->
|
||||
<!--auto-rotate-landscape>true</auto-rotate-landscape-->
|
||||
|
||||
<!-- This option lets you specify additional options on an XML handler -->
|
||||
<!--xml-handler namespace="http://www.w3.org/2000/svg">
|
||||
<stroke-text>false</stroke-text>
|
||||
</xml-handler-->
|
||||
</renderer>
|
||||
|
||||
<renderer mime="image/svg+xml">
|
||||
<format type="paginated"/>
|
||||
<link value="true"/>
|
||||
<strokeText value="false"/>
|
||||
</renderer>
|
||||
</renderers>
|
||||
</fop>
|
||||
|
|
@ -62,7 +62,6 @@ DVIPSOPTS?= -t ${PAPERSIZE:L}
|
|||
DVIPSOPTS+= ${DVIPSFLAGS}
|
||||
|
||||
FOP?= ${PREFIX}/bin/fop
|
||||
FOPOPTS?=
|
||||
|
||||
GROFF?= groff
|
||||
|
||||
|
|
|
@ -76,6 +76,7 @@ SCHEMATRONS?= ${DOC_PREFIX}/share/xml/freebsd.sch
|
|||
XSLTPROCOPTS?= --nonet
|
||||
|
||||
DBLATEXOPTS?= -I ${IMAGES_EN_DIR}/${DOC}s/${.CURDIR:T} -p ${DOC_PREFIX}/share/xsl/freebsd-dblatex.xsl -T simple -d
|
||||
FOPOPTS?= -c ${DOC_PREFIX}/share/misc/fop.xconf
|
||||
|
||||
KNOWN_FORMATS= html html.tar html-split html-split.tar \
|
||||
epub txt rtf ps pdf tex dvi tar pdb
|
||||
|
|
Loading…
Reference in a new issue