mPDF:在 table 单元格内旋转条形码

mPDF: Rotate a barcode inside a table cell

我正在使用 mPDF 生成包含活动门票的 PDF 文件。我想在门票边缘的 table 单元格中显示垂直方向的条形码。我找不到使用 in-built barcode facility, or to rotate the barcode via the supported CSS options 垂直生成条形码图像的方法。 (我在添加条形码的 table 单元格上尝试了文本旋转选项,但这仅在单元格中只有文本时才有效。)

内置条形码工具的使用示例:

<barcode code="978-0-9542246-0" type="ISBN" class="barcode" height="0.66" text="1" />

我可以使用第三方条码工具将这些作为图像嵌入,但如果可能的话,我更愿意使用 mPDF 中的原生工具。

感谢任何建议。

页面右下角的旋转条码示例:

<div style="position: fixed; right: 0mm; bottom: 0mm; rotate: -90;">
    <barcode code="100101001" />
</div>