PdfCraft 0.15.0 于 2026 年 10 月 28 日发布,距 0.14.0 三天。这一版改变了 PdfCraft 的安装和更新方式:启动时检查新版本,能自己更新;在 Windows 上默认只为你自己的账户安装。界面换上了 Crafting Apps 共用的新组件,有了真正的菜单栏。安装包的种类和 0.14.0 一样。

下载、安装和更新

  • 在应用里直接更新。 PdfCraft 启动时会向 GitHub 查询有没有新版本。有的话,弹出提示,显示更新说明,可以选择更新并重启,或者自己去下载。重启前会先问你没保存的文档怎么处理。「帮助 › 检查更新」可以随时手动检查。这是第一个有这项功能的版本,所以 0.15.0 本身还要手动安装。
  • Windows 默认只为当前账户安装,装在 %LOCALAPPDATA%\Programs\ArtCraft\PdfCraft,不需要管理员权限。在安装程序第一页选「Everyone on this computer」,则为所有用户安装到 C:\Program Files\ArtCraft\PdfCraft。以前的版本只能为所有人安装,位置是 C:\Program Files\PdfCraft;更新时,安装程序会保留已有副本的位置。
  • Windows:隐藏文件或系统文件属性的 PDF,保存后仍然保持隐藏。

界面

  • 菜单栏取代了「菜单」按钮:文件、编辑、视图、签名、窗口和帮助,列出每个命令和它的快捷键。在 Mac 上,它就是屏幕顶部的原生菜单栏,带有常规的应用菜单;在 Windows、Linux 和网页版上,它画在窗口里原来「菜单」按钮的位置。
  • 侧边栏、打开侧边栏的竖条和所有下拉列表,都换成了 Crafting Apps 共用的组件,界面工具包也升级了新版本,所以有些面板的样子和用法会略有不同。
  • 「页面」面板多了一个「页面工具」菜单(⋯),在缩略图旁边就能插入空白页或其他文件的页面、旋转和删除。
  • 附件双击就能打开,也有了右键菜单。
  • 界面新增波斯语,从右往左显示。
  • 读屏软件会用文档标题来称呼窗口。在 Wayland 下,鼠标离开窗口时按键会正确松开。

密文处理

  • 部分遮住的图形会被删除,而不只是藏起来。 以前密文标记只盖住矢量图形(比如转成曲线的文字、签名或示意图)的一部分时,被盖住的区域是用裁剪路径藏起来的,完整的图形其实还留在文件里,别人可以提取出来。现在标记碰到的图形会整个删除,标记外面的部分也一起删掉,所以应用密文后请检查一下页面。渐变(着色)仍然只裁掉标记里面的部分。同样,密文处理后不再用到的 Type 3 字体字形,也会从文件里去掉。这两处都来自一次安全审查。如果你用以前的版本对含有图形或 Type 3 字体的文档做过密文处理,请用 0.15.0 或更新的版本从原文件重新处理一遍。

表单

  • 大型 XFA 表单几秒就能打开。 以前,数据填满几千个字段的静态 XFA 表单要好几分钟才能打开:一份公开的 136 页、约 6,000 个字段的表单要 261 秒。现在打开时间和字段数成正比,而不是和字段数的平方成正比。
  • 排版后的 XFA 表单里,签名域的命名方式改成其他 PDF 阅读器查找的方式,它们能找到签名了。圆形的 XFA 复选框,字段高亮也是圆的。表单脚本里的数字格式化遇到很大的数不再显示“inf”,FormCalc 的 Round 函数也不再溢出。
  • 表单要求阅读器自己生成外观时,复选框和单选按钮会画出它们的标题文字。

注释、编辑和导出

  • 从 FDF 导入的注释,弹出窗口会正确放在页面上;导入的 XFDF 里字段为空时,会清空对应的字段,和 FDF、XML 一样。
  • 页眉和页脚可以显示 24.10.2026 这种以点分隔、日在前的日期。
  • 自己添加的图片,可以从一边裁掉一半以上;拖动文本框时,预览里只显示文本框本身。
  • 导出为 Word 时,句子里的斜体词留在原来的段落里,不会把段落断开。
  • 把页面导出成图片时会用多个线程同时处理,贡献者测得耗时减少约 80%。
  • 「文档属性」能读出以命名目标指定的打开页面,所以在那里选第 1 页能生效了。

怎么更新

到下载页下载 0.15.0,覆盖安装即可,设置保持不变。从这个版本起,PdfCraft 会自己提示新版本。各系统的细节见下载指南。

这份说明是我们根据下面的改动列表和对应的合并请求写的,其中的改动我们没有逐项实测。

全部 44 项改动

列表来自 GitHub 发布页,是开发者写的英文原文。

  • Reject non-hex characters in XFA image hash parsing #4630
  • Fix AFNumber format printing "inf" for large finite values #4592
  • Reject '+' as a hex digit in FormCalc url Decode escapes #4586
  • Fix FormCalc Round overflowing to infinity for large values #4508
  • M7: dotted day-first dates in header and footer #4503
  • fix(xfdf): an imported FDF comment's pop-up is placed on the page, not copied in as a direct dictionary #4493
  • fix(platform): a saved file keeps its hidden and system attributes on Windows #4647
  • fix(edit): resizing an image under a shared clip scales its own clip too #4639
  • M3: the accessible window is named with the window title (#4614) #4640
  • M6: a round XFA check box's field highlight is round, as a radio button's is #4512
  • fix(xfdf): an empty field in imported XFDF clears the field, as FDF and XML do #4483
  • M7.5: crop an added image by more than half from one side #4521
  • M9: name a laid-out XFA form's signature fields by their SOM path, so other viewers find the signature #4507
  • M3: give the kept button release back before the pointer leaves (Wayland) #4500
  • Tests: XFA calculation tests no longer fail when the machine is busy #4535
  • i18n(fa): add Persian interface translation #4558
  • M6: a static XFA form whose data fills thousands of fields opens in seconds (#4637) #4638
  • M4: Document Properties reads a named opening destination's page, so choosing page 1 replaces it (ISO 32000-2 12.3.2.4) #4574
  • M7: a moved text box's drag preview shows the box alone (#4464) #4475
  • M2: a luminosity soft mask in a DeviceCMYK group converts as ISO 32000-2 10.4.2 says, so 100% K masks fully #4423
  • M3: an attachment's row opens on a double-click and has a right-click menu (#3466) #4513
  • M10: Word export keeps an italic run inside its sentence's paragraph (#4158) #4411
  • M6: with NeedAppearances, check boxes and radio buttons draw their /MK caption (ISO 32000-2 Table 224) #4454
  • M3: a Page tools menu in the Pages panel (#4415) #4583
  • refactor(ui): side panels on craft-ui task panes and the shared rail #4606
  • Migrate PdfCraft to egui 0.37 #4591
  • feat: startup update prompt modal and direct self-updating #4654
  • proposal(redact): prevent retention of confidential vector paths behind clipping (F-008) #4577
  • build: pin craft-update to craft-libs main (495e597) #4721
  • build: pin craft-update to craft-libs main (495e597) #4728
  • chore(deps): bump 11 safe dependency updates #4737
  • test(ui): CJK interface tests skip without craft-fonts #4706
  • feat(ui): menus from craft-menu, native on macOS #4752
  • refactor(engine): split lib.rs into modules #4730
  • proposal(redact): unlink unused Type 3 glyph programs and fonts on redaction (F-011) #4579
  • fix(sonar): clear css:S9441 and S3776 in forms actions #4747
  • ci: require nextest 0.9.150 #4880
  • refactor: shared module layout (craft-contrib#20) #4889
  • perf(engine): export page images on worker threads (about 80% less wall time) #5026
  • Packaging: fetch OCR models from the ONNX URLs (legacy RTEN URLs return 403) #5039
  • refactor(ui): use craft-ui's ComboBox for every dropdown #4988
  • Windows installation policy: PdfCraft #4892
  • Enforce Rust coding standards via Clippy #4897
  • deps: pin craft-libs at e11f9d9a (craft-menu loads on Cargo before 1.99) #5094
在 GitHub 查看全部改动 →