antenna-house

Force line break after string length

白昼怎懂夜的黑 提交于 2019-12-29 08:24:09
问题 I want to force a line break after a string length of 14 characters in a PDF generated with AH Formatter. So this is my xsl code without any attempt of line breaking: <xsl:attribute-set name="big" use-attribute-sets="bold"> <xsl:attribute name="font-size">38pt</xsl:attribute> <xsl:attribute name="line-height">28.84pt</xsl:attribute> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="letter-spacing">1mm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name=