XSL-FO可以翻转(镜像)字符吗?

时间:2018-07-19 17:09:47

标签: fonts pdf-generation xsl-fo

我在6.6.3 <fo:character>下的the spec中查看了XSL-FO字体属性,但没有发现任何可以反转字符的内容。我可以将其旋转180度,但这不是同一回事。

例如,我希望能够完成CSS transform: scale(-1, 1);的功能。

类似(使用伪造的font-scale-horizontal):

Click the <fo:inline xmlns:fo="http://www.w3.org/1999/XSL/Format" font-weight="bold" line-height="100%" font-family="MaterialIcons" font-scale-horizontal="-1"></fo:inline> next to the...

1 个答案:

答案 0 :(得分:1)

如果您使用的是AH Formatter,则可以使用axf:transform(请参阅https://www.antennahouse.com/product/ahf65/ahf-ext.html#transformation),否则您可能必须将其作为SVG图形使用。