如何将.wmf“阿拉伯语”文件转换为PDF?
我使用下面的代码
iTextSharp.text.Image img1 = ImgWMF.GetInstance(@"path.wmf");
Document pdfDoc = new Document(img1);
PdfWriter.GetInstance(pdfDoc, new FileStream(@"path.pdf", FileMode.Create));
pdfDoc.Open();
img1.SetAbsolutePosition(0, 0);
pdfDoc.Add(img1);
pdfDoc.Close();但不幸的是,字母是从左到右翻转的。

PS:我试过其他的库和工具,但是PDF图像质量太差了。

发布于 2017-04-05 18:20:28
您可以尝试使用iText7和pdfCalligraph插件。这个插件增加了对阿拉伯文字的支持。
https://stackoverflow.com/questions/43227069
复制相似问题