PdfCraft 0.18.0 于 2026 年 11 月 3 日发布,距 0.17.0 两天。这一版大部分来自核心团队以外的贡献者:一个能放自己常用工具的快捷工具栏,重做的「首选项」窗口,以及对 JBIG2 格式黑白扫描件的更好处理(PdfCraft 从 0.16.1 开始会把扫描件压缩成这种格式)。安装包的种类和 0.17.0 一样。
新建空白页用 A4 了
- 「创建 PDF」里的「空白页」按系统的区域设置选纸张:中国大陆和世界上大多数地区是 A4,美国、加拿大、墨西哥等少数国家是 Letter。以前不管在哪里都是美国的 Letter 尺寸(215.9 × 279.4 毫米),打印到 A4 纸上会对不齐。Windows 上读的是「区域」设置里的纸张大小,Mac 上读系统的地区,Linux 上读
LC_PAPER 等语言环境变量。给脚本和智能体用的 doc_create 仍然默认 Letter。
工具栏和侧边栏
下面几项是新加的,中文界面里暂时都显示英文:
- 自己的快捷工具栏(hotbar)。 点它的设置按钮,可以从全部工具里搜索、添加常用的工具;工具栏可以拖到任意位置浮着,也可以贴在窗口的一边,还能沿整条边铺开,大小可调。0.18.1 把它和页面旁边原有的快捷工具条合成了一条。
- 手绘高亮(Freehand-Highlight)加在「突出显示」工具的下拉菜单里:像荧光笔一样手画一道,和页面颜色叠加。它保存为墨迹注释,所以在其他 PDF 阅读器里显示为一笔手绘。
- 打开各个面板的那一列按钮(导航栏)可以放在左边或右边:首选项 › General & Interface › Navigation rail side。
首选项
- 「首选项」变成一整页可以滚动的卡片:General & Interface(中文界面里暂时是英文)、外观、文档与视图、Comment(同样是英文)、填写与签名、JavaScript。顶部有搜索框,会高亮所有匹配的设置并显示匹配数。
- 有些设置换了位置:0.17.0 加在「文档与视图」里的 Recent files to keep(保留的最近文件数),现在在 General & Interface 里。
- 页面版式和连续滚动分成了两个独立的选项,所以可以把「双页 + 连续滚动」设为默认。
密文处理和黑白扫描件
- 密文处理不再整张删掉 JBIG2 扫描图。 以前,密文标记只要盖住 JBIG2 扫描页的一部分,应用后整张页面图片都会被删掉;现在和其他图片一样,只清掉标记下面的像素。如果 JBIG2 图片里存的页面尺寸和图片本身不一致,仍然整张删除。
- 处理后的扫描件不会变大好几倍。 以前清理过的图片一律用通用的 Flate 压缩保存,一页 CCITT G4 或 JBIG2 扫描件处理后可能大好几倍。现在黑白图片会在 Flate、CCITT G4 和(原来就是 JBIG2 时)JBIG2 里选最小的保存。新数据是从清理后的像素重新编码的,原图的编码不会被带过去。
- **「PDF 优化器 › 单色图像」**现在也会对 JBIG2 扫描件和用双色调色板的黑白图片降采样;选择保留原压缩方式时,JBIG2 仍存成 JBIG2。开发者提醒:按重复字形编码的扫描件降采样后往往反而变大,这时会保持原样。
显示和页面
- 网络盘上的最近文件不会再卡住启动。 以前 PdfCraft 在显示窗口之前要逐个检查最近文件是否还在;如果某个文件在一个已经没有响应的网络盘上,窗口就一直出不来。现在改到后台检查。
- 用 Alt+Tab 切回 PdfCraft 后,不用先动鼠标,滚轮就能滚动。
- 页面旋转了 90、180、270 度或者镜像放置的扫描图,缩小显示时应该不会再发虚。开发者还在等报告问题的人用自己的文件确认。
- 注释有好几百条时,「注释」面板只排版看得见的卡片,不再卡顿。
- 页码范围的最后一页输入后会保留;带
+ 号的页码会被拒绝,而不是照常读取。
- 工具窗格里的文字格式输入框、快捷工具条、导航栏的页码框和缩放框,以及挨着滚动条的面板拖动手柄,都修了一些排版问题。
脚本和智能体
- 按行设置对齐方式的 MCP 工具(
page_add_text、content_update、text_edit)改用 "inherit" 表示「跟随整个文本框」,不再用 null,因为 Kimi 不接受混合类型的枚举。null 仍然可用。
- 页眉页脚、水印和背景要么在所有选中的页面上一起加上或替换,要么一页都不改:中途有一页失败,文档就保持原样。
稳定性
- 修复了一批损坏文件和特制文件的问题:限制 JBIG2 页面能容纳的内容和解码时间,同一操作里的图片共用一份解码额度;通过引用给出的色彩空间和图片参数;文件尾里为负数的对象数;缩放比例极小的变换;以及修复后对象头里写着另一个版本号的对象。
怎么更新
如果你装的是 0.15.0 或更新的版本,PdfCraft 启动时会提示更新到最新版(被 ArtCraft Launcher 固定在其他版本的除外)。否则请到下载页下载。新版本会替换旧版本,设置保持不变。各系统的细节见下载指南。
这份说明是我们根据下面的改动列表和对应的合并请求写的,其中的改动我们没有逐项实测。
全部 28 项改动
列表来自 GitHub 发布页,是开发者写的英文原文。
- M2: a reference in a colour space or array isn't lost: Indexed tables, Pattern spaces, /Decode, /W and functions #5539
- fix(render): a JBIG2 page's segments are bounded in what they hold and refer to (hayro-jbig2 patches 5 to 9, hayro-syntax 29) #5491
- Reject signed and empty arcs in try_oid #5581
- Ignore a negative trailer /Size in incremental saves #5566
- tests(engine): the XFA opening scale test times its small and large forms in the same rounds #5586
- M3: the wheel scrolls right after Alt+Tab back, before the mouse moves (#1518) #5608
- M10: Create ▸ Blank page uses the system region's paper (#5644) #5651
- M14: the comments panel lays out only the cards in view (#5488) #5583
- M8: typing the last page of a range keeps what is typed (#5574) #5579
- fix(create): a /Decode array needs two finite numbers to invert an export #5678
- Make MCP aligns enums compatible with Kimi #5592
- M2: a shrunk image on a turned or mirrored page snaps to whole pixels (#5530) #5640
- M8: redaction clears the covered pixels of JBIG2 scans instead of removing them (protect.redact-image-pixels) #5461
- M11: Monochrome Images averages indexed black-and-white images, the palette saying which sample is dark (optimize.downsample-images) #5471
- M11: Monochrome Images reads JBIG2 scans: averaged like any, and stored again as JBIG2 (optimize.mono-compression) #5472
- M8: a redacted black-and-white scan is stored as Group 4, or JBIG2 again, when smaller (protect.redact-image-pixels) #5474
- feat(ui,annot): customizable hotbar strip, freehand highlight, and moveable navigation rail #5677
- fix(ui): don't check recent files on the UI thread at startup (#5682) #5692
- Fix Matrix::invert rejecting valid matrices with a small scale #5703
- M7: make page-mark replacement transactional (#5657) #5704
- Repair scan: an object whose header names another generation is still found (#5580) #5584
- Reject '+' sign in page selection numbers #5715
- ui: modernize preferences dialog with card-based layout #5710
- fix(ui): Format text fields read as fields, line up, and fit the Tools pane (#5634) #5637
- fix(ui): centre the quick-tools bar in the margin beside the page (#5635) #5638
- fix(ui): the rail's page box fits, and the zoom field looks like a field (#5636) #5639
- M2.6: the images of a run, and a page's JBIG2 images, share one allowance of decoding #5569
- fix(ui): prevent panel resize handle collision with scrollbar (#5730) #5740
在 GitHub 查看全部改动 →