Mono 上的 PdfSharp

发布于 2024-07-29 21:17:41 字数 327 浏览 3 评论 0原文

有没有人尝试将 PdfSharp 库移植到 Mono? 我刚刚针对 PdfSharp.dll v1.2 beta 运行了 MoMA ,我得到了大约 12 P/Invoke错误和 10 个左右的 Mono TODO。 只是想知道是否有人将 PdfSharp 移植到 Linux 和 OSX,如果是,进展如何? 尝试评估 PdfSharp 是否适合我。

Has anyone tried to port PdfSharp library to Mono? I just ran MoMA against PdfSharp.dll v1.2 beta and I am getting about 12 P/Invoke errors and 10 or so Mono TODOs. Just wondering if anyone has ported PdfSharp over to Linux and OSX, if so, how did it go? Trying to evaluate if PdfSharp is a good candidate for me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

Oo萌小芽oO 2024-08-05 21:17:42

Gabriel Burt 将其用于他的 PDFMod 实用程序,这意味着它可以当然可以用来处理PDF文档。 但是,他使用不同的库(Poppler)进行渲染,因此我怀疑 P/Invokes 和 TODO 位于渲染代码中,特别是 Windows 窗体。

简而言之,只要您不使用影响 P/Invokes 和 TODO 的代码路径,它就应该可以正常工作。

Gabriel Burt is using it for his PDFMod utility, which mean it can certainly be used for manipulating PDF documents. However, he uses a different library (Poppler) for rendering, so I suspect that the P/Invokes and TODOs are in the rendering code, particularly Windows Forms.

In short, as long as you don't use codepaths that hit the P/Invokes and TODO, it should work fine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文