感謝您發送存檔。我仍不確定您的新 PDF 有何不同,但我發現 C:\Program Files\ptxprint\PDFassets\border-art 資料夾中已經有一個(命名不佳的).pdf 檔案,它「更高」且專為阿拉伯文字設計:
A5 section head border(RTL).pdf - 不幸的是,由於檔案名稱中的(括號),它目前無法運作(但這將在 PTXprint 的下一個版本中修復)。
不過,作為變通方法,如果您更改 PDF 檔案名稱,然後使用該 PDF,它對您的需求運作得非常好,並且可以縮放而不會變形。
因此,例如,將名稱更改為:
A5 section head border-RTL-taller.pdf

請注意,您也可以將圖形稍微向下 SHIFT(移動),並在需要時將其 SCALE(縮放)得更大。
您可能還希望對 \s 樣式進行小幅尺寸調整,以便上標和下標變音符號都能容納在可用空間內。

一旦您設定了正確的參數,一切都能很好地契合!

看起來動態生成的 Text Border(文字邊框)也需要調整一些設定:

請注意,有 Box padding(方框填充)和 Border padding(邊框填充)設定;使用負數的 Box Padding 可能會有幫助。

Thanks for sending the archive. I'm still not sure how your new PDF was different, but I found that there is already a (badly named) .pdf in the C:\Program Files\ptxprint\PDFassets\border-art folder which is 'taller' and designed for Arabic script:
A5 section head border(RTL).pdf - unfortunately, it doesn't work as it is, due to the (parentheses) in the filename (but this will be fixed in the next release of PTXprint).
But, as a workaround, if you change the PDF file name and then use that PDF, it works very well for what you need, and scales without distorting.
So, for example, change the name to be:
A5 section head border-RTL-taller.pdf

Notice that you can also SHIFT the graphic down slightly, and SCALE it to be larger if needed.
And you may want to consider making a small change in size to the \s Style so that the upper and lower diacritics all fit in the space available.

It all fits quite well once you've got the right settings!

It looks like the dynamically-generated Text Border also needs some settings tweaked:

Note that there are Box padding and Border padding settings; and it might help to use negative Box Padding.

機器翻譯自 English