Removed ‘disregard-shifts’ from Pie chart font

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

View File

@ -851,7 +851,7 @@
<xsl:choose>
<xsl:when test="$percentage >= 3.5">
<!--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:value-of select="$middle_x + $text_line_x"/>
</xsl:attribute>
@ -890,7 +890,7 @@
/>
</xsl:attribute>
</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">
<!-- placement of text depends on where extra line is pointing -->
<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 name="font-size">10pt</xsl:attribute>
</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 name="font-size">8pt</xsl:attribute>
</xsl:attribute-set>