
當我在 Inkscape 0.92.3 (2405546, 2018-03-11) 和 Ubuntu 18.10 上匯出以下 pdf 檔案時,我得到一個空的 pdf 檔。
SVG 檔案是這裡。在 Pastebin 上,因為它大約有 1200 行,但在檢視器中看起來非常少。
請告訴我這是否是一個未報告的錯誤。
答案1
這看起來像是錯誤#1768444:SVG 匯出為空白 PDF。
問題(如錯誤中所述)是您的 SVG 使用無效的變換矩陣。有兩個transform
以四個零開頭的變換矩陣(在屬性 中),這意味著它們是不可逆的。第一個是:
<g id="g2272" aria-hidden="true"
transform="matrix(0,0,0,0,-66.872582,178.2141)"
syle="fill:currentColor;stroke:currentColor;stroke-width:0">
注意四個前導零。
不幸的是,該錯誤仍然存在,因此目前沒有解決方案。