Removed ‘disregard-shifts’ from Pie chart font

This commit is contained in:
skyanth 2017-07-05 13:52:10 +02:00
parent d1785ff534
commit 94e8b9b753
2 changed files with 7 additions and 2 deletions

View File

@ -851,7 +851,7 @@
<xsl:choose> <xsl:choose>
<xsl:when test="$percentage >= 3.5"> <xsl:when test="$percentage >= 3.5">
<!--on the edge--> <!--on the edge-->
<svg:text text-anchor="middle" xsl:use-attribute-sets="TableFont"> <svg:text text-anchor="middle" xsl:use-attribute-sets="PieFont">
<xsl:attribute name="x"> <xsl:attribute name="x">
<xsl:value-of select="$middle_x + $text_line_x"/> <xsl:value-of select="$middle_x + $text_line_x"/>
</xsl:attribute> </xsl:attribute>
@ -890,7 +890,7 @@
/> />
</xsl:attribute> </xsl:attribute>
</svg:path> </svg:path>
<svg:text text-anchor="end" xsl:use-attribute-sets="TableFont"> <svg:text text-anchor="end" xsl:use-attribute-sets="PieFont">
<xsl:attribute name="x"> <xsl:attribute name="x">
<!-- placement of text depends on where extra line is pointing --> <!-- placement of text depends on where extra line is pointing -->
<xsl:value-of select="$text_x_relative_to_line"/> <xsl:value-of select="$text_x_relative_to_line"/>

View File

@ -35,6 +35,11 @@
<xsl:attribute-set name="TableFont" use-attribute-sets="DefaultFont"> <xsl:attribute-set name="TableFont" use-attribute-sets="DefaultFont">
<xsl:attribute name="font-size">10pt</xsl:attribute> <xsl:attribute name="font-size">10pt</xsl:attribute>
</xsl:attribute-set> </xsl:attribute-set>
<xsl:attribute-set name="PieFont">
<xsl:attribute name="font-family">LiberationSansNarrow</xsl:attribute>
<xsl:attribute name="font-size">10pt</xsl:attribute>
<xsl:attribute name="color">black</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="TinyFont" use-attribute-sets="DefaultFont"> <xsl:attribute-set name="TinyFont" use-attribute-sets="DefaultFont">
<xsl:attribute name="font-size">8pt</xsl:attribute> <xsl:attribute name="font-size">8pt</xsl:attribute>
</xsl:attribute-set> </xsl:attribute-set>