PdfCraft 0.16.1 于 2026 年 10 月 31 日发布,距 0.15.0 三天,没有发布 0.16.0。这一版改动很多,大部分是核心团队以外的贡献者对表单、渲染和编辑的修复,分两批合并进来。它新增了 FreeBSD 的 ARM64 版,Flatpak 版也能检查更新和打印了。

中文

  • 没有嵌入字体的中文 PDF,在 Windows 上能显示文字了。 以前即使电脑上装了合适的字体,这类 PDF 的页面也可能一片空白。现在阅读时会用系统里安装的字体显示中日韩文字,包括 Windows 上做出来、用 GBK 编码的中文书籍,宋体、黑体、楷体和仿宋也会分别对应,不会混成一种;方正字体加了子集前缀的别名,也能对应到装好的同名字体。这只影响屏幕上的显示,打印和导出仍然用 PdfCraft 自带的字体。
  • 选中或提取文字时,脚注里的文字按阅读顺序排列。

密码和隐私

  • 给 PDF 加密时,密钥更可靠了。 「使用密码保护」现在从系统的安全随机数发生器获取加密密钥、盐值和自动生成的所有者密码;如果系统给不出安全的随机数,就拒绝加密。以前用的来源本来就不是给密码学用的。这个修复源于一份私下提交的安全报告。如果你用以前的版本加密过机密文档,请用 0.16.1 或更新的版本重新加密一次。
  • 导出的表单数据可以放心用表格软件打开。 「导出数据」存成 CSV 时,会被表格软件当成公式执行的值(例如以 = 或 @ 开头的),现在会写成 Excel、WPS 表格等软件显示为文字的形式。不然,别人发来的表单里可能藏着公式,打开 CSV 时就会执行。PdfCraft 读回自己导出的数据时内容不变。
  • 密文处理:文字对象里恢复图形状态之后,遮盖的位置现在算得对了,不会在这类页面上切错地方。

压缩扫描件

  • 黑白扫描件小得多。 「减小文件大小」和 PDF 优化器把黑白图片存成 CCITT G4 或无损 JBIG2,哪种小用哪种;1 位的图片保持 1 位;超过 450 ppi 的黑白图片降到 300 ppi。「创建 PDF」也会把黑白图片保持为 1 位。

注释、书签和表单

  • 「导入注释」(注释 › 导入注释)现在可以选另一个 PDF,把它的注释复制到页码相同的页面上。
  • 按文字样式新建书签(书签选项里的 New bookmarks from text styles,中文界面里暂时是英文):根据标题的样子生成书签,比如所有章标题都用同一种斜体字的文档。很多 PDF 的标题没有打结构标签,以前的「从结构新建书签」在这类文档里什么也找不到。
  • 回复可以单独编辑或删除,不影响整个讨论;拖动注释时,它会画在拖到的位置上。
  • 表单:复选框和单选按钮的导出值可以编辑;「组织页面 › 页面属性」可以设置 Tab 顺序;删除单选按钮时只删选中的那一个;把单选按钮改成已有组的名字,它就加入那个组;自动字号的单行文本框会撑满整个高度。表单脚本弹出的提示保留脚本指定的标题、图标和按钮,而且每条都会显示,不只显示最后一条。「计算顺序」页面会指出读取了不存在字段的公式。
  • 填写与签名里的文字和日期可以选颜色,文字面板可以直接输入 1 到 500 磅的字号。

显示和渲染

  • 修复了混合模式、透明组、CMYK、内容流格式错误、损坏的 BMP 图片,以及用 OpenType 封装的 Type 1 字体等多处渲染问题。提取文字时只取页面裁剪框以内的部分。
  • 「首选项」里的阅读配色移到「外观」正下方,改成色块加实时预览;主题按钮旁边多了一个齿轮按钮,点它直接打开「首选项」。
  • Alt+← 和 Alt+→ 可以在看过的位置之间后退和前进。有未保存的改动时,窗口标题会标出来。

编辑和导出

  • 导出为 Markdown:保留标题、粗体、斜体和表格。在命令行和 AI 智能体里,导出到以 .md 结尾的文件名就会写成 Markdown。
  • 在「编辑文本和图像」里:在打开的段落里按 Esc 会选中整个文本框,再按 Delete 就能删掉;Ctrl+Z 撤销的是文档的改动,而不是过时的文字;可以只对齐选中的几行;空行会保留为段落分隔。

下载和安装

  • 新增 FreeBSD ARM64 版:pdfcraft-0.16.1-freebsd-aarch64.tar.gz。
  • Flatpak 版有了网络权限,能到 GitHub 检查更新,也能用 CUPS 打印机打印。
  • 应用图标和文件图标的颜色从绿色改成红色,应用里面的配色不变。

怎么更新

如果你装的是 0.15.0,PdfCraft 启动时会提示更新到 0.16.1。Flatpak 版在这一版之前连不上 GitHub,需要手动更新一次。其他情况请到下载页下载。新版本会替换旧版本,设置保持不变。各系统的细节见下载指南。

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

全部 62 项改动

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

  • Grant network access so update checks can reach GitHub #5189
  • Honor CARGO_BUILD_TARGET in FreeBSD packaging for aarch64 release builds #5205
  • Issue #2368: flattening keeps a NoRotate widget upright on a rotated page #2402
  • Export Data as CSV keeps formula-like cells as text, like the merge report #2524
  • Improve reading-colour preferences and add a settings shortcut #2627
  • fix(render): clip extracted text to the page CropBox (#2670) #2838
  • M6: form script messages keep their title, icon and buttons, and every one is shown (#4293, #4294) #4306
  • M6: Organize pages ▸ Page properties sets the selected pages' tab order #4516
  • M4: New bookmarks from text styles, for headings that aren't tagged (#1693) #4560
  • M5: Import comments takes another PDF and copies its comments onto the same pages #4595
  • M6: Delete removes one selected radio button, not its whole group (#4609) #4631
  • fix(ui): the page sets its cursor once, from the top claim the tool reaches #4709
  • fix(ui): Update previews the page without the marks it replaces #4718
  • Integrate 13 KenM76 fixes for forms, text and rendering #5236
  • fix(render): a gray drawn with the Color blend mode is no longer drawn black #5199
  • fix(redact): Q inside a text object restores the text matrices, as the renderer does #4831
  • fix(render): a form's stray Q no longer pops the page's saved states #4841
  • Forms: auto-sized single-line text fields fill their height, not 12 pt #4862
  • fix(render): a non-isolated knockout group blends its elements with the page under it #4898
  • fix(edit, a11y): Q inside a text object restores the text matrices, as the renderer does #4906
  • fix(render): a stroke whose outline comes back with NaN is drawn, not dropped #4913
  • fix(xfa, create): read a BMP's pixels from after its headers when its offset points into them #4943
  • fix(forms): renaming a radio button to an existing group's name joins that group #4977
  • fix(forms): editing or sorting a list's items keeps its selected indices on the same items #4987
  • fix(forms): clearing a field's default leaves it with none, not its parent field's #4991
  • M7: Type1 fonts with an OpenType-wrapped CFF program draw their own face #5178
  • fix(render): an isolated DeviceCMYK transparency group blends in CMYK (#3776) #5228
  • Make PdfCraft's app color red #5245
  • packaging: Flatpak finds and prints to CUPS printers #5346
  • CI: workflows only call craft-common-actions at @main (AGENTS.md; windows-arm64 unpinned) #5378
  • deps: bump tar, zip, roxmltree, rustls-webpki and symphonia to latest #5381
  • Update prompt shows the app icon and accent color instead of a letter #5388
  • Fix pretend-version testing for update prompts #5397
  • Integrate 27 reviewed PDF editing, forms and optimizer PRs #5426
  • Allow typed font sizes and Fill & Sign text colours #2635
  • Content streams: step over a malformed token instead of ending the page #3636
  • fix(engine): generate Protect keys and salts with getrandom (#4000) #4013
  • M11: PDF Optimizer stores black-and-white images as CCITT Group 4 (optimize.mono-compression) #4304
  • M11: lossless JBIG2 for black-and-white images (optimize.mono-compression) #4320
  • M11: black-and-white pictures stay one bit: Create PDF, the optimizer, and CCITT image export #4335
  • M11: Monochrome Images ▸ Downsample: black-and-white images above 450 ppi are averaged down to 300, Group 4 scans included #4384
  • M11: the optimizer stores Group 3 fax as Group 4, and packs black-and-white RGB and two-entry indexed images to one bit #4404
  • M2: page_render and render_preview report the render warnings next to the PNG (#4340) #4494
  • M5: a moved comment is drawn where it goes while it is dragged #4541
  • fix(organize,print): join /Contents array pieces with a space (#3502) #4596
  • feat(edit): Esc in an open paragraph selects its box, so Delete removes it #4620
  • fix(comments): delete or edit one reply from its own menu, keeping the thread #4719
  • M11: JBIG2 symbol coding for black-and-white images (optimize.mono-compression) #4805
  • fix(ui): keep the All tools rows clear of the scrollbar (#5133) #5134
  • M10: export a PDF to Markdown (#1595) #5208
  • feat(forms): edit checkbox and radio export values (#231) #1952
  • Fix Pages sidebar select-all keyboard shortcut (#2052) #2133
  • fix(edit): show backgrounds on pages that paint their own white backdrop #2815
  • Keep lines with footnote references in paragraph reading order (#2929) #2960
  • Window title: mark unsaved changes, and set it on the web (#3640) #3779
  • Alt+Left / Alt+Right go back and forward through the view history (#3632) #3789
  • fix(ui): Ctrl+Z in an open paragraph undoes the document, not stale text #4179
  • M7: align the selected lines of a paragraph or text box on their own #4180
  • M6: calculation checks: formulas reading missing fields, scripts building names, shown on the Calculation order page #4325
  • M7: keep a blank line as a paragraph break (#2517) #2529
  • fix(flatpak): allow reading launcher version pins #5490
  • M2: continue CJK viewer fallback for Windows GBK PDFs #4172
在 GitHub 查看全部改动 →