<header>
<pageTemplate>
<frame id="first" x1="28.0" y1="28.0" width="%s" height="%s"/>
+ <stylesheet>
+ <!-- Set here the default font to use for all <para> tags -->
+ <parastyle name='Normal' fontName="DejaVu Sans"/>
+ </stylesheet>
<pageGraphics>
<fill color="black"/>
<stroke color="black"/>
<drawCentredString x="%s" y="%s">[[ company.partner_id.name ]]</drawCentredString>
<stroke color="#000000"/>
<lines>%s</lines>
+ <!-- Set here the default font to use for all <drawString> tags -->
+ <!-- don't forget to change the 2 other occurence of <setFont> above if needed -->
+ <setFont name="DejaVu Sans" size="8"/>
</pageGraphics>
</pageTemplate>
</header>"""
<pageTemplate>
<frame id="first" x1="1.3cm" y1="3.0cm" height="%s" width="19.0cm"/>
<stylesheet>
- <paraStyle name="main_footer" fontName="DejaVu Sans" fontSize="8.0" alignment="CENTER"/>
- <paraStyle name="main_header" fontName="DejaVu Sans" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <!-- Set here the default font to use for all <para> tags -->
+ <parastyle name='Normal' fontName="DejaVu Sans"/>
+ <paraStyle name="main_footer" fontSize="8.0" alignment="CENTER"/>
+ <paraStyle name="main_header" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
</stylesheet>
<pageGraphics>
+ <!-- Set here the default font to use for all <drawString> tags -->
+ <setFont name="DejaVu Sans" size="8"/>
<!-- You Logo - Change X,Y,Width and Height -->
<image x="1.3cm" y="%s" height="40.0" >[[ company.logo or removeParentNode('image') ]]</image>
- <setFont name="DejaVu Sans" size="8"/>
<fill color="black"/>
<stroke color="black"/>