XSL-FO 可以翻转(镜像)字符吗?
Can XSL-FO flip (mirror-image) characters?
我查看了 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...
如果您使用的是 AH Formatter,您可以使用 axf:transform
(参见 https://www.antennahouse.com/product/ahf65/ahf-ext.html#transformation),否则您可能必须将其作为 SVG 图形来完成。
我查看了 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...
如果您使用的是 AH Formatter,您可以使用 axf:transform
(参见 https://www.antennahouse.com/product/ahf65/ahf-ext.html#transformation),否则您可能必须将其作为 SVG 图形来完成。