In .:
2007-02-16 Alex Roitman <shura@gramps-project.org> * configure.in: Add HELPPATH and FONTPATH substitutions, generate new files in help/output. In help: * Makefile.am (SUBDIRS): Add subdirs. svn: r8132
This commit is contained in:
6
gramps2/help/output/Makeflie.am
Normal file
6
gramps2/help/output/Makeflie.am
Normal file
@@ -0,0 +1,6 @@
|
||||
# This is the help/output level Makefile for gramps
|
||||
# $Id$
|
||||
|
||||
html: /bin/true && "This is a placeholder"
|
||||
|
||||
pdf: /bin/true && "This is a placeholder"
|
@@ -1,58 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<fop version="1.0">
|
||||
|
||||
<!-- 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>
|
||||
|
||||
<renderers>
|
||||
<renderer mime="application/pdf">
|
||||
<fonts>
|
||||
<!-- embedded fonts -->
|
||||
<!--
|
||||
This information must exactly match the font specified
|
||||
in the fo file. Otherwise it will use a default font.
|
||||
-->
|
||||
<font metrics-url="file:///home/benny/programms/gramps/gramps2/data/help/FreeSerif.xml"
|
||||
kerning="yes" embed-url="file:///usr/share/fonts/truetype/freefont/FreeSerif.ttf">
|
||||
<font-triplet name="FreeSerif" style="normal" weight="normal"/>
|
||||
</font>
|
||||
<font metrics-url="file:///home/benny/programms/gramps/gramps2/data/help/FreeSerifBold.xml"
|
||||
kerning="yes" embed-url="file:///usr/share/fonts/truetype/freefont/FreeSerifBold.ttf">
|
||||
<font-triplet name="FreeSerif" style="normal" weight="bold"/>
|
||||
</font>
|
||||
<font metrics-url="file:///home/benny/programms/gramps/gramps2/data/help/FreeSerifItalic.xml"
|
||||
kerning="yes" embed-url="file:///usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf">
|
||||
<font-triplet name="FreeSerif" style="italic" weight="normal"/>
|
||||
</font>
|
||||
<font metrics-url="file:///home/benny/programms/gramps/gramps2/data/help/FreeSerifBoldItalic.xml"
|
||||
kerning="yes" embed-url="file:///usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf">
|
||||
<font-triplet name="FreeSerif" style="italic" weight="bold"/>
|
||||
</font>
|
||||
<font metrics-url="file:///home/benny/programms/gramps/gramps2/data/help/FreeMono.xml"
|
||||
kerning="yes" embed-url="file:///usr/share/fonts/truetype/freefont/FreeMono.ttf">
|
||||
<font-triplet name="FreeMono" style="normal" weight="normal"/>
|
||||
</font>
|
||||
<font metrics-url="file:///home/benny/programms/gramps/gramps2/data/help/FreeMonoBold.xml"
|
||||
kerning="yes" embed-url="file:///usr/share/fonts/truetype/freefont/FreeMonoBold.ttf">
|
||||
<font-triplet name="FreeMono" style="normal" weight="bold"/>
|
||||
</font>
|
||||
<font metrics-url="file:///home/benny/programms/gramps/gramps2/data/help/FreeMonoOblique.xml"
|
||||
kerning="yes" embed-url="file:///usr/share/fonts/truetype/freefont/FreeMonoOblique.ttf">
|
||||
<font-triplet name="FreeMono" style="italic" weight="normal"/>
|
||||
</font>
|
||||
<font metrics-url="file:///home/benny/programms/gramps/gramps2/data/help/FreeMonoBoldOblique.xml"
|
||||
kerning="yes" embed-url="file:///usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf">
|
||||
<font-triplet name="FreeMono" style="italic" weight="bold"/>
|
||||
</font>
|
||||
</fonts>
|
||||
</renderer>
|
||||
</renderers>
|
||||
|
||||
</fop>
|
58
gramps2/help/output/grampsfop.xconf.in
Normal file
58
gramps2/help/output/grampsfop.xconf.in
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<fop version="1.0">
|
||||
|
||||
<!-- 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>
|
||||
|
||||
<renderers>
|
||||
<renderer mime="application/pdf">
|
||||
<fonts>
|
||||
<!-- embedded fonts -->
|
||||
<!--
|
||||
This information must exactly match the font specified
|
||||
in the fo file. Otherwise it will use a default font.
|
||||
-->
|
||||
<font metrics-url="file://@HELPPATH@/FreeSerif.xml"
|
||||
kerning="yes" embed-url="file://@FONTPATH@/FreeSerif.ttf">
|
||||
<font-triplet name="FreeSerif" style="normal" weight="normal"/>
|
||||
</font>
|
||||
<font metrics-url="file://@HELPPATH@/FreeSerifBold.xml"
|
||||
kerning="yes" embed-url="file://@FONTPATH@/FreeSerifBold.ttf">
|
||||
<font-triplet name="FreeSerif" style="normal" weight="bold"/>
|
||||
</font>
|
||||
<font metrics-url="file://@HELPPATH@/FreeSerifItalic.xml"
|
||||
kerning="yes" embed-url="file://@FONTPATH@/FreeSerifItalic.ttf">
|
||||
<font-triplet name="FreeSerif" style="italic" weight="normal"/>
|
||||
</font>
|
||||
<font metrics-url="file://@HELPPATH@/FreeSerifBoldItalic.xml"
|
||||
kerning="yes" embed-url="file://@FONTPATH@/FreeSerifBoldItalic.ttf">
|
||||
<font-triplet name="FreeSerif" style="italic" weight="bold"/>
|
||||
</font>
|
||||
<font metrics-url="file://@HELPPATH@/FreeMono.xml"
|
||||
kerning="yes" embed-url="file://@FONTPATH@/FreeMono.ttf">
|
||||
<font-triplet name="FreeMono" style="normal" weight="normal"/>
|
||||
</font>
|
||||
<font metrics-url="file://@HELPPATH@/FreeMonoBold.xml"
|
||||
kerning="yes" embed-url="file://@FONTPATH@/FreeMonoBold.ttf">
|
||||
<font-triplet name="FreeMono" style="normal" weight="bold"/>
|
||||
</font>
|
||||
<font metrics-url="file://@HELPPATH@/FreeMonoOblique.xml"
|
||||
kerning="yes" embed-url="file://@FONTPATH@/FreeMonoOblique.ttf">
|
||||
<font-triplet name="FreeMono" style="italic" weight="normal"/>
|
||||
</font>
|
||||
<font metrics-url="file://@HELPPATH@/FreeMonoBoldOblique.xml"
|
||||
kerning="yes" embed-url="file://@FONTPATH@/FreeMonoBoldOblique.ttf">
|
||||
<font-triplet name="FreeMono" style="italic" weight="bold"/>
|
||||
</font>
|
||||
</fonts>
|
||||
</renderer>
|
||||
</renderers>
|
||||
|
||||
</fop>
|
Reference in New Issue
Block a user