PdfCraft 0.20.0 于 2026 年 11 月 9 日发布,距 0.19.0 三天。GitHub 上它的更新列表有 292 条,但不少是重复的:一个合并用的拉取请求会和它带进来的每个拉取请求并排列出。还有两条被开发者划掉了,因为发布前已经撤回:自定义纸张尺寸(在 0.21.0 里重新加入)和一处替换整行文字的修复(在 0.22.0 里重新加入)。这一版改动很大:停止提供 32 位 Windows 版,新增分屏查看、带格式复制和页面对象的复制粘贴,并补上了密文处理、崩溃恢复和页面复制中会留下不该留的内容的几个漏洞。

先说中文用户关心的

  • 更多中文 PDF 能选中和复制文字了。 有些中文、日文 PDF 内嵌了字体,却没写明每个字形对应哪个字,以前在 PdfCraft 里选不中、搜不到、复制不出文字。现在会按字体所属的 Adobe 字符集(如 Adobe-GB1)查出对应的字。
  • 查找对中文更友好。 一个词被行尾断开(中文排版常见)也能找到;竖排文字也能查找。勾选「仅全字匹配」时,以前在中文里几乎什么都找不到(「台北」在「台北市」里匹配不上),现在中文、日文和泰文这类词间不加空格的文字,按字匹配。
  • 带格式复制也适用于中文:粘贴到 Word 或邮件里时保留段落、粗体、字号、颜色和字体名。
  • macOS 26 把苹方(PingFang)字体文件挪了位置,PdfCraft 找不到它,作为后备的系统中文字体一直用的是冬青黑体(Hiragino Sans GB);现在改回苹方。发布版的简体中文界面主要用内置的霞鹜文楷 Lite,后备字体只显示它没有的字;自己编译、不带内置中文字体的版本才会整体用后备字体。修复的作者说没能在 macOS 26 上实际运行测试。
  • 网页版也能做 OCR 了,但和桌面版一样,仍然只识别英文。
  • 下面提到的设置和按钮大多已有中文,少数在中文界面里暂时是英文,我们会注明。

下载和安装

  • 不再提供 32 位 Windows 版。 这一版的 Windows 安装包(.msi)和便携版(.zip)只有 x64 和 ARM64 两种。ArtCraft 各款 Crafting App 共用的构建流程在 11 月 7 日停止构建 x86 文件(craft-common-actions #163),没有说明原因;到 0.22.0,PdfCraft 的 README 仍然列着 32 位版。如果你的电脑装的是 32 位 Windows,目前能装的最后一个版本是 0.19.0。
  • Windows 上可以选安装位置。 安装程序的欢迎页多了「安装到」一栏和「浏览…」按钮,命令行里用 INSTALLFOLDER="D:\Apps\PdfCraft" 也行。以后更新会沿用你选的文件夹。
  • 资源管理器的右键菜单多了「Combine files in PdfCraft」(这个菜单项在所有语言下都是英文),和「Edit with PdfCraft」放在一起。选中几个 PDF 后点它,文件会进入正在运行的 PdfCraft 的「合并文件」页。INSTALLPDFCONTEXTMENU=0 会把这两项都去掉。
  • 便携版可以设为默认 PDF 程序了。 pdfcraft.exe 旁边的 portable.txt 里新增了几行 PowerShell 命令,只在你自己的账户下登记这个便携版,以及撤销的命令。登记后它会出现在「设置 › 应用 › 默认应用」里,由你自己选。
  • Windows 上固定到任务栏的图标在更新后不再变成空白;Mac 上的打开和保存对话框跟随界面语言;Flatpak 版可以连接辅助功能总线,Orca 等读屏软件能读到窗口了。

隐私和密文处理

下面几项修复中,有几项来自向开发者私下提交的安全报告。

  • 恢复副本不再保留密文处理掉的内容。 PdfCraft 每分钟把未保存的修改复制到恢复文件夹。现在「应用密文」「清理文档」和「删除隐藏信息」执行后会立即替换这份副本。以前副本里还留着被删掉的文字和图片,要等到下一次自动保存才更新;如果 PdfCraft 在那之前被强制关闭,就一直留着。如果你用以前的版本做完密文处理后一分钟内 PdfCraft 崩溃或被强制退出,请检查恢复文件夹(位置见 Windows、Mac 和 Linux 下载页),删掉不需要的副本。
  • 复制页面只带走属于这些页面的东西。 以前用「提取页面」「拆分文档」「合并文件」或「从文件插入页面…」复制部分页面时,如果一个表单字段在没选中的页面上也有控件,整个字段连同填写的值都会被带过去;「合并文件」和插入页面还会带上原文件的全部书签标题,「合并文件」还会带上全部附件。现在只带走所复制页面上的字段、书签和附件。如果你用以前的版本提取或合并过已填表单、或带附件文档的部分页面并发给了别人,请检查那份文件里有什么。
  • 密文处理漏掉的两种文字。 一种是密文标记把部分区域写成了对另一个对象的引用,这部分之后的区域都被跳过;另一种是文字所在页面内容的解码参数单独存放。两种情况下,文字都留在了显示为「已处理」的文件里。如果你用以前的版本做过密文处理,请从原文件重新做一遍。
  • 「删除隐藏信息」删得更彻底。「其他应用程序的私有数据」现在也包括 OPI 链接和替代图像(可能就是未经修改的原图);「链接、动作和 JavaScript」也会去掉书签里的脚本,书签本身保留;没有被用到的图片会被删除;删掉的图层会从所有图层配置中去掉;「隐藏图层」也包括被「视图」设置关掉的图层。
  • Windows 上保存出来的附件会带上「来自互联网」的标记。 从下载或邮件收到的 PDF 里保存附件,附件会带上和 PDF 一样的标记,SmartScreen 和 Office 的受保护视图会像对待那个 PDF 一样谨慎对待它。
  • 读不出权限设置的加密文件不再允许复制、打印和导出;汇总注释需要复制权限;只加密附件的文档可以不输密码打开,附件在输入密码前保持锁定。

阅读和查找

  • 分屏查看。「视图 › 拆分」(Ctrl+\,Mac 上是 ⌘\)把窗口分成两栏;标签页的右键菜单里有「向右拆分」和「向下拆分」。两栏可以显示同一文档的两个位置,也可以显示两个文档,各自有标签页、滚动和缩放。
  • 复制的文字保留格式。 复制时剪贴板上还会放一份 HTML,所以粘贴到文字处理软件或邮件里,段落、粗体、斜体、字号、颜色和字体都在。复制的文字按页面上的行分行,旋转的行也按阅读顺序。
  • 页面文字里的网址和邮箱可以点了。 只以文字形式出现的网址和邮箱地址,现在点击就能打开,打开前和文档里的其他链接一样先问你。
  • 查找能找到被软连字符或零宽字符隔开的词;对中文的改进见上文。
  • 比窗口矮的页面居中显示;End 键跳到最后一页的底部;窗口可以缩到半个屏幕宽。
  • 内部错误不再让整个程序退出。 如果 PdfCraft 在绘制窗口时出错,它会保留你的标签页,立刻把未保存的修改写进恢复文件夹,并显示一条提示。以前整个程序会直接关闭。
  • 页面显示方面修了很多问题:字体、扫描图像、损坏的文件。因为超出渲染器限制而没画完的页面,现在会说明。

编辑页面和文字

  • 页面对象可以复制粘贴。 在「编辑 PDF」里,Ctrl+A(⌘A)选中页面上的所有对象,复制、剪切、粘贴在同一文档内和不同文档之间都能用。
  • **「取消组合」**现在把组合对象的图形就地展开,里面的文字因此可以编辑。
  • 泰文文字的编辑、断行,以及在「填写与签名」、文本框、表单字段、页眉页脚和水印里的显示都有改进。
  • 保护损坏的页面。 如果某页的内容中途损坏,会改写这部分内容的编辑现在会被拒绝。以前保存时,损坏处之后的内容可能会丢失。
  • 「裁剪页面」放到了文档的快捷工具栏上。

注释、表单和签名

  • 签名后 Acrobat 不再忽略签名。 有些表单要求阅读器自己绘制字段外观,在 PdfCraft 里签这种表单,Acrobat 可能会忽略这个签名。现在第一次签名时会先画好字段,再关掉这个要求。如果你用以前的版本签过表单,而 Acrobat 里看不到签名,请从未签名的副本重新签一次。
  • 签名显示真实的验证状态。 很多已签名的 PDF 存着一张「Signature Not Verified」的图。PdfCraft 现在画出自己的验证结果:绿色对勾、表示状态未知的黄色三角,或红色叉号。
  • 审阅状态按审阅人分别保存;回复不再画在页面上;矩形、椭圆和文本框的云形边框能正确显示了。
  • 在「准备表单」里,「Show tab numbers」(显示 Tab 顺序编号,中文界面里暂时是英文)可以显示 Tab 顺序;按住 Shift 移动字段会保持水平或垂直;所有选中的字段都会高亮。共用同一个值的单选按钮互斥,符合表单的本意。动态 XFA 表单修了很多问题。

打印、导出和 OCR

  • **「每张纸页数」**可以自定义网格(几列几行)。没有外观的注释和字段按页面上显示的样子打印;只用于屏幕显示的图层不会打印出来。页码范围里的 (3) 表示第 3 页,不管这一页的页码标签是什么。
  • **「印刷制作 › 修复细线…」**把太细、印不出来的线加粗。
  • **导出 Word 时保留带线的表格,**并写明文档语言。导出时,自动换行的段落和项目符号列表保持为段落,多栏页面按阅读顺序输出。
  • 「减小文件大小」压缩前先问保存位置;「PDF 优化器」可以删掉表单的提交、导入和重置动作。
  • 网页版可以识别文本了。 第一次使用时会下载识别模型(约 12 MB),在后台逐页识别。网页版现在需要 Chrome 91、Firefox 89 或 Safari 16.4 及以上版本。和桌面版一样,只识别英文。
  • 「更正识别文本」打开时保留窗口的标签页和工具栏。

命令行和智能体

  • pdfcraft-cli info 会列出打开损坏文件时做的修复;pdfcraft-cli render 和 text 一样,需要文档允许复制。
  • Windows 上 --control 文件现在只有你自己能读;pdfcraft-cli ui 拒绝使用别的账户能读的控制文件,和 macOS、Linux、FreeBSD 上一样。
  • 给智能体的新工具:object_copy 和 object_paste、doc_fix_hairlines、doc_batch 的试运行、doc_optimize 的目标大小,以及可以用正则表达式加校验(Luhn、IBAN)标记密文的 redact_mark,后者暂时还没有对应的界面。
  • 网页版用 ?control 打开时,可以通过页面上的 window.pdfcraft 操作。

怎么更新

如果你装的是 0.15.0 或更新的版本,PdfCraft 启动时会提示更新到最新版本(被 ArtCraft Launcher 固定在其他版本、或者你关掉了启动检查的除外)。否则请到下载页下载。32 位 Windows 没有更新的版本可装。新版本会替换旧版本,设置保持不变。各系统的细节见下载指南。

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

全部 292 项改动

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

  • perf(cos): an object that can't be read is searched for once, not on every read #5802
  • M3: copy keeps formatting as HTML (Copy with formatting) #6197
  • Add text: gray or CMYK colour, painted with g or k (#6440) #6471
  • pdfcraft-web: window.pdfcraft, the page command API from craft-web-api, opt-in with ?control #6497
  • feat(cos): list the objects that could not be read in doc_info #5816
  • refactor(ui): tell Edit text, the text layer and links whether a press is theirs (router PR 4b) #6243
  • Add dry-run preview to doc_batch without writing outputs #6486
  • Release: refresh contributor credits for each release (#6487) #6488
  • M9: signed appearances show their real validation state (#79) #2808
  • Keep ruled tables when exporting a PDF to Word #5154
  • M2.6: never rewrite a content stream from the part before its damage #6289
  • fix(filters): inflate with zlib-rs everywhere, and charge the image allowance for what Flate reads #5825
  • contributors: set names for vangel76 #6067
  • Add Crop pages to the document quick toolbar (#5330) #5564
  • Select the bookmark title when creating or renaming a bookmark (#5529) #5562
  • perf(cos): write hex strings, integers and references without the formatter #4878
  • UI: allow a half-screen window, and fold the mode bar when narrow (#1913) #1988
  • Optimize: optional target_bytes for doc_optimize (#1889) #1983
  • perf(cos): speed up byte searches during cross-reference reconstruction #4874
  • perf(cos): write_full keeps the objects it parsed while numbering #4876
  • Redact: mark text by caller-supplied regex (#1886) #1977
  • Signing a form that sets NeedAppearances no longer makes Acrobat ignore the signature #6208
  • M7: Ungroup draws Form artwork in place, so its text can be edited (#2964, #3005) #3067
  • fix(edit): restore page rules after the content stream API change #6619
  • Fix the build: page_rules joins content streams with text::joined #6621
  • Word tables get outer borders only where the page rules them #6626
  • M10: Correct recognized text keeps the window's tabs and toolbar and shows the page (ocr.correct-recognized-text) #6490
  • M10: adopt file-backed Windows printing with approved dependencies and the crash fix #6514
  • Word and HTML exports name the document's language (#5498, merged with main) #6631
  • Word and HTML exports name the document's language #5498
  • An edited OCR phrase is drawn at one size (#5454, with the requested test) #6633
  • fix(edit): an edited OCR phrase is drawn at one size (refs #3313) #5454
  • OCR in the web build (#1641, merged with main, two fixes) #6634
  • M10: OCR in the browser, in Web Workers with SIMD (ocr.ocr-web) #1641
  • House rules: copy the licence allowlist with Unicode-3.0 from craft-contrib #6635
  • M7: edit grouped Thai text with one click, on Ungroup's form expansion (#6249 + review fixes) #6627
  • M7: preserve source fonts when editing grouped Thai text #6249
  • redact: treat unusable /QuadPoints as absent in every reader #6525
  • M7: break Thai rows between dictionary words (#3492, merged with main) #6637
  • M7: break Thai rows between dictionary words #3492
  • Edit a PDF: select all, copy, cut and paste page objects within and between documents (#5989) #6639
  • Draw Thai in Fill & Sign, text boxes, form fields, headers, footers and watermarks (#2354) #6632
  • Exports keep a wrapped paragraph and a bulleted list as paragraphs (#5404, merged with main) #6643
  • Exports keep a wrapped paragraph and a bulleted list as paragraphs #5404
  • Fill & Sign test: check Escape by edits, not by comparing saves #6646
  • Combine files: a drop is one undo step, in order, and names what it can't take #6645
  • M5: a comment whose colour is written [r g b null] is drawn, as CMYK with the null read as 0 (view.render-annotation-appearances) #6503
  • fix(render): TIFF predictor 2 is undone a byte row at a time at 8 and 16 bits (hayro-syntax patch 42) #6505
  • fix(render): a form XObject that draws itself is drawn once (hayro-interpret patch 89) #6515
  • M2: info lists the repairs made while opening, as Document Properties does (misc.cli-inspect) #6518
  • M2: a wide stroke of a path with y curves is drawn, not dropped (view.render-pages) #6526
  • fix(engine): map URL text line rects with view_rect_to_user and filter non-finite coordinates #6536
  • fix(js): decode ', numeric, and HTML named character references in FormCalc Decode #6538
  • refactor(cos): consolidate duplicate civil_from_days onto pdfcraft_cos::civil_from_days #6540
  • M11: PDF/A verify checks that predefined XMP properties have their value types (optimize.pdfa-validate) #6220
  • M5: Replace Text keeps its replacement on the group's primary, the caret (comment.replace-text) #5689
  • M3: pages shorter than the window sit in its middle (#5708) #5759
  • M3: a protected file named before others at launch keeps its password prompt (#5756) #5762
  • Keep the font size when making text box properties default #5784
  • M12: an XFA page area keeps at most 128 content areas, so a subform split across them lays out within its budget (#5843) #5844
  • fix(create): image export checks a JPEG's Extended XMP chunks before decoding it #5860
  • M14: localization parity counts every catalog with the i18n report (#5805) #5894
  • fix(measure): charge snapping per filter stage and bound listing work #5920
  • fix(redact): prune the resources of Forms a surviving Type 3 glyph draws #5924
  • fix(edit): stop rescanning what a loop already holds in wrapping, grouping and flattening #5963
  • fix(print): index page labels once and cap how many pages a range selects #5967
  • fix(engine): coalesce script resetForm requests and bound console output per edit #5975
  • Harden Bates sequence validation #6003
  • fix(sign): read each existing DSS stream once and within a decoded-size allowance #6040
  • fix(a11y): heading titles decode their source strings within a shared allowance #6049
  • Expose widget rectangles to field scripts #6093
  • fix(xfa): read and validate the first alternative in typed_date #6120
  • fix(js): decode FormCalc Unicode string escapes and preserve chained unary not/! #6122
  • fix(ui): two-page continuous view prefetches whole rows ahead #6126
  • Scroll: a touch zoom keeps zooming after its keys are let go #6130
  • fix(export): skip empty Markdown runs before merging and emphasis lookahead #6134
  • fix(sign): merge CMS unsignedAttrs into one SET and validate SignerIdentifier #6137
  • fix(fonts): a subset that gives the space no width can't encode one (#6131) #6158
  • M12: floating fields show the values scripts give them, and the sheet number and count (#6160) #6166
  • M1: correct the COS object reference API example #6183
  • Windows: shortcuts take pdfcraft.exe's icon, so a taskbar pin keeps it #6184
  • M1.10: richer synthetic seeds for the mutation fuzzer #6186
  • M5: document implemented annotation builders and rich text #6189
  • M1: define the Info object in the testkit README example #6191
  • M8: use AuditFinding in the audit README example #6204
  • fix(canvas): release closed panels' thumbnails while a visible page renders #6227
  • fix(canvas): find a page's pictures off the window thread #6228
  • M9: a signed string respelled in hexadecimal is no change after signing (sign.changes-after-signing) #6502
  • Ignore dictionary key order when checking signed pages for changes #5962
  • M10: a layer the document marks screen-only stays off the printed sheet (print.print-ready-pdf) #6387
  • M1: a V4 RC4 file with a 40- or 48-bit key reads and saves (#6397) #6398
  • M12: headless orbit navigation for 3D models #6406
  • M7: a click away from a picture being cropped applies the crop (edit.image-crop) #6428
  • M3: End shows the end of the document, the last page down to its bottom (view.page-navigation) #6435
  • M6: a widget whose /Parent names a missing object is a field of its own (form.field-list) #6445
  • M6: a field whose /Kids loop back or name a root field keeps its other kids (form.field-list) #6446
  • M5: a font a page lists among its annotations is not a comment (comment.list-view) #6447
  • Signature validation takes the certification from the catalog #6453
  • Apply Redactions replaces the recovery snapshot at once #6454
  • Automation follows a path toward its root before looking anything up #6455
  • Links, actions and JavaScripts takes the scripts out of bookmarks #6456
  • Private data takes OPI links and alternate images #6457
  • Page copies bring only the form fields on the pages copied #6461
  • feat(reduce): ask where to save before compressing #6229
  • perf(optimize): work out pictures on threads and skip needless page reads #6230
  • M6: Shift keeps a field's move horizontal or vertical in Prepare a form, as in Acrobat (form.prepare-form-mode) #6260
  • fix(render): a JBIG2 scan whose data starts with a JBIG2 file header draws instead of a white page (hayro-jbig2 patch 17) #6279
  • fix(edit): break the row on every Unicode row break #6295
  • M10: applying recognized words refreshes only the page content they add (#6310) #6316
  • M6: a multi-select list's picks reach its XFA data as one value element each (form.fill-choice) #6328
  • M10: comments and fields without an appearance print as the page shows them (print.comments-and-forms) #6367
  • fix(ui-egui): stop held middle-button auto-scroll on release (#3795) #6544
  • M5: the hotbar settings button shows one tooltip (#6548) #6550
  • M10: Pages per sheet takes a custom grid of columns by rows (#6551) #6559
  • M6: a product of empty fields is 0, not 1 (form.af-simple-calculate) #6567
  • M7: Edit text lines set in a Type 3 font are as high as their glyphs (edit.text-edit) #6571
  • Deduplicate pages in ocr_job and use a set for page lookup #6586
  • M3: Find matches words divided by soft hyphens, zero width characters or a Chinese or Japanese line end (view.find) #6595
  • pdfcraft-web: say how to wait for window.pdfcraft's functions #6604
  • M6: a calculate script that sets its own field through the field object keeps that value (form.custom-scripts) #6616
  • Fix main's build after the latest merges #6660
  • Land render and syntax patches (#6355, #6501, #6506, #6510, #6534, #6561, #6290, #6312, #6348, #6532, #6438) #6664
  • M1: a document that encrypts only its embedded files opens without a password (core.attachment-only-encryption) #6312
  • fix(render): a ToUnicode CMap reads its mappings past a token it can't parse (hayro-cmap patch 3) #6348
  • fix(render): a page whose MediaBox or CropBox encloses no area shows its content (hayro-syntax patch 38) #6355
  • M2: a page past the rasterizer's coverage renders what fitted instead of failing (view.render-error-isolation) #6438
  • fix(render): an image whose PNG predictor was declared but never applied draws its samples (hayro-syntax patch 40) #6501
  • fix(render): a fax image with more /Rows than its /Height is decoded to its height (hayro-syntax patch 41) #6506
  • M1: the renderer reads a cut-off last update's objects, as the document model does (core.repair-broken-files) #6510
  • M2: a CMap's bfchar mappings read codes at their codespace length (view.render-cid-fonts) #6532
  • M2: a page without a /MediaBox is US Letter (view.render-pages) #6534
  • M1: a file whose last update has no /Prev opens with all its pages and a repair note (core.repair-broken-files) #6561
  • M3.9: the control screenshot test makes its renderer before the 5 s deadline #5252
  • Forms: highlight every selected widget in Prepare a form #5253
  • docs: a portable copy keeps its single-instance socket in %LOCALAPPDATA% #5260
  • M4: Initial View magnification offers 25% and 100% (#5254) #5265
  • Track XMP attribute quotes only inside tags #5271
  • M7: links that go to a page open at a chosen zoom (edit.action-goto) #5277
  • Reload: a file changed under an open dialog waits for it to close (#3917) #5278
  • fix(organize): remove uninherited crop boxes and guard disjoint or overflowing boxes #5282
  • M3: text_find can stop at its limit without reading on to the end (#5328) #5335
  • fix(forms): resolve field and widget references in ResetForm and Hide actions #5364
  • M4: bookmarks run their actions as links do (organize.bookmark-actions) #5410
  • fix(optimize): downsampling never enlarges; a huge target_ppi aborted on a 20 TB allocation #5425
  • fix(compare): visual compare no longer overflows on declared sizes its buffers cannot hold #5458
  • fix(ui): show creation and modification dates in Document Properties (#5534) #5536
  • tests(ui): the Search panel snapshot no longer depends on which page's text arrives first #5560
  • Reject signs in XMP numeric character references #4755
  • macOS: declare the UI languages so the open and save panels are translated #4785
  • fix(render): treat combined fill-and-stroke operators as a knockout group (#3229) #4788
  • edit: a variation selector after existing text draws the base glyph instead of failing the edit #4899
  • Keep the outline intact when move_bookmark gets an invalid target #4901
  • Reject '+' sign in print page ranges #4931
  • fix(optimize): size objects in compressed object streams by their compressed share #4951
  • M12: an XFA field with a long label beside it is as tall as its label, not a page (form.xfa-dynamic) #5109
  • fix(forms): name tree nodes sharing one long /Kids array no longer exhaust memory #5121
  • Dialogs: a dialog no longer keeps a taller one's height (#5118) #5139
  • Roll human_size over to MB when KB rounds to 1024.0 #5186
  • Edit background, watermark and header colours as sRGB #5218
  • Publish action wizard outputs without replacing existing files (#1805) #1874
  • Check the remembered path of a pathless doc_save against the root (#1791) #1879
  • Refuse a legacy encryption key length above 128 bits instead of panicking (#1769) #1882
  • Use PingFang from the reserved font directory on macOS 26 (#1716) #1893
  • M14: the Windows installer lets the user choose the install folder (#1139) #2480
  • fix(content): an inline image ends at its own EI, not a later one #2483
  • fix(edit): preserve annotation optional-content membership in marked content (#3213) #3275
  • Attachments: a saved attachment keeps the PDF's Mark-of-the-Web on Windows (#3990) #4091
  • UI: a panic in a frame no longer closes the app and its tabs (#3914) #4201
  • Skip the Bates ACL test where the deny entry doesn't bind #6670
  • Land render and font patches (#6292, #6287, #6314, #6353, #6359, #6368, #6409, #6491, #6545, #6516, #6521, #6528, #6533, #6529, #6542, #6543, #6569, #6572) #6663
  • fix(render): a small image with a soft mask far larger than it draws in seconds, its mask averaged down once (hayro-interpret patch 82) #6287
  • fix(render): a page of stencil masks painted with a tiling pattern draws in seconds instead of running out of memory (hayro patch 30) #6292
  • fix(render): a TrueType font marked with an out-of-range loca format draws its letters instead of boxes (hayro-interpret patch 83) #6314
  • fix(render): an embedded CJK font without a usable ToUnicode reads its text through its collection's UCS2 CMap (hayro-interpret patch 84) #6353
  • fix(render): a Type 3 glyph shown again isn't decoded again (hayro-interpret patch 87) #6409
  • fix(render): a non-embedded Times New Roman draws the glyphs its codes name (hayro-interpret patch 88) #6491
  • fix(render): a picture that doesn't decode is decoded once, not at every draw (hayro-interpret patch 91) #6516
  • fix(render): glyph names read as text only in the glyph list's uni and u forms (hayro-interpret patch 92) #6521
  • fix(render): a CID-keyed CFF font with an emptied font dict still draws its other glyphs (hayro-interpret patch 93) #6528
  • fix(render): a non-embedded SymbolMT draws Symbol's glyphs, whatever encoding it declares (hayro-interpret patch 98) #6529
  • M2: a font without a /Subtype is drawn by its /BaseFont (view.render-pages) #6533
  • fix(render): a patch mesh painted through a path its own size draws every patch (hayro-interpret patch 99) #6542
  • fix(render): a symbolic TrueType font in the Macintosh glyph order reads its codes as Mac Roman (hayro-interpret patch 101) #6569
  • M3: Find matches words on a vertical line (view.find) #6572
  • fix(render): a ToUnicode written with CID ranges gives its text (hayro-interpret patch 85) #6359
  • Revert #5536: it breaks the Document Properties tests on main #6671
  • Land PDF/A verify and convert checks (#6232, #6254, #6172, #6202, #6203, #6206, #6207, #6214, #6215, #6219) #6662
  • M11: PDF/A verify asks only the fonts something draws with to be embedded (optimize.pdfa-validate) #6172
  • M11: PDF/A verify reports integers, reals, strings, names, CIDs and page boundaries past the implementation limits (optimize.pdfa-validate) #6202
  • M11: PDF/A verify reports Separation spaces of one name that differ and DeviceN spot colours missing from /Colorants (optimize.pdfa-validate) #6203
  • M11: PDF/A verify checks the file header and Save as PDF/A rewrites it (optimize.pdfa-validate) #6206
  • M11: PDF/A verify reports transfer functions, halftones and rendering intents a graphics state may not use (optimize.pdfa-validate) #6207
  • M11: PDF/A verify checks the file identifier and Save as PDF/A adds one (optimize.pdfa-validate) #6214
  • M11: PDF/A verify checks that TIFF, EXIF and aux XMP properties have their value types (optimize.pdfa-validate) #6232
  • M11: PDF/A verify checks that XMP extension schema descriptions are complete (optimize.pdfa-validate) #6254
  • M11: PDF/A verify reports pages with transparency but no blending colour space, and blend modes ISO 32000-1 doesn't define (optimize.pdfa-validate) #6219
  • Land redaction, organize, forms, annotation, text, measure, XFA, XFDF and edit fixes (#6458, #6459, #6460, #6463, #6474, #5969, #5761, #5852, #6231, #6366, #6504, #6570, #6610, #6597, #6620, #6650) #6666
  • M3: a snapshot keeps its resolution when zoomed out (#5716) #5761
  • M5: a text markup, line, polyline, polygon or ink comment whose points reach past its Rect is drawn through them (view.render-annotation-appearances) #6366
  • Removed layers leave every optional-content configuration #6459
  • Hidden layers includes layers a View usage rule turns off #6460
  • Combine and Insert bring only the bookmarks and attachments of the pages chosen #6463
  • Type 3 pruning counts a page's appearances toward one operator total #6474
  • M6: a named kid is named up its own /Parent chain, and a radio option of any same-named field is chosen by the name (form.field-list) #6570
  • M6: a field whose normal appearance gives no stream is drawn from its value, /MK and /BS (view.render-annotation-appearances) #6610
  • fix(edit): editing an OCR phrase redraws only the words it changes (refs #3313) #6650
  • Redaction keeps Type 3 glyphs that annotations, patterns and soft masks show #5197
  • fix(redact): read inherited forms once for all names in resource cleanup #5969
  • Remove Hidden Information unlinks images nothing draws #6458
  • Updates: take craft-update from craft-libs main at 1b34eba41 #6674
  • fix(redact): Remove Hidden Information reads only what the chosen categories need (part of #5873) #6021
  • fix(render): a stream ending in endstrea is not read into a later object's stream (hayro-syntax patch 36) #6669
  • fix(preflight): resolve indirect spot families, null dict entries, and numeric equality #6679
  • fix(preflight): walk soft-mask groups, indirect subtypes, and type 5 halftones #6680
  • M4: custom document properties are kept in XMP as pdfx: properties (organize.custom-properties) #6686
  • Updates: a ready update starts its helper when the app exits #6688
  • Print production: Fix hairlines (dialog, edit, tool) #1906
  • M3: whole-word Find matches inside Chinese, Japanese and Thai text (view.find-options) #2075
  • M2: a page whose content was cut at the renderer's limits says so (#623) #2113
  • ~~Print: custom paper sizes, and the paper remembered for each printer (page setup)~~ by @regendorf-ux in https://github.com/storytold/pdfcraft/pull/2381. **Not in this release:** #6706 reverted it before the release was cut.
  • M14: "Combine files in PdfCraft" on File Explorer's PDF menu (#585) #2503
  • feat(ui): split view: two panes, one document or two #2518
  • M3: copied text keeps one line per baseline, reading order for turned lines, letters for ligatures (#4467) #4468
  • M3: web and email addresses written as page text open like links (#4207) #4472
  • M6: radio buttons sharing an on state are exclusive unless RadiosInUnison (form.fill-checkbox-radio) #4489
  • M12: an XFA date field keeps what its patterns don't read as typed, and reads its own patterns first #4511
  • edit: preserve gap-drawn spaces and indents in subset fonts via /ActualText (#4229) #4514
  • fix(automation): XFA clicks and form edits return only the script output they produced #4559
  • automation: compare canonical root components exactly and test roots-only escape confinement (#4003) #4569
  • export: order multi-column and turned page items in reading order (#3657) #4580
  • M12: a page break splits an empty XFA text field that grows with its text (form.xfa-dynamic) #5525
  • fix(a11y): resolve indirect structure kids, parent tree keys, and table attributes #5611
  • fix(organize): preserve numbered names, indirect resource dicts, and comment threads #5612
  • fix(forms): harden tab order, AF script parsing, and null/inherited tree entries #5614
  • M5: a reply is not drawn on the page or flattened into it (comment.reply) #5632
  • fix(sign): read OCSP responseStatus as ENUMERATED; drop redundant RSA leading zeros #6005
  • fix(create): refuse PNG headers the file cannot back; no truncating JP2 box length #6007
  • fix(engine): unknown permissions on an encrypted document refuse copying and printing #6011
  • fix(xfa): remember every picture hash written in a pass #6035
  • fix(xfdf): FDF comment export excludes source pages by identity, not by /Type #6036
  • fix(engine): summarizing comments requires copying permission #6039
  • fix(forms): comb detection ignores repeated boxes #6077
  • fix(xfa): existing-field traversal shares a field's name among its queued children #6080
  • fix(xfa): strip reads a shared indirect Kids array once #6081
  • fix(print): a printed page's form shares the page's Resources when it adds no appearance #6089
  • fix(a11y): auto-tagging bounds the content it plans across all pages #6090
  • fix(sign): chain building hashes a certificate once for all candidate issuers #6096
  • fix(render): the named-destination index spends key bytes from one allowance #6097
  • export: the Office zip writer outgrows the classic records with ZIP64 #2554
  • fix(organize): preserve page labels across extract, split, and combine (#2670) #2799
  • ~~M7: replacing a line keeps the source font for the words it can show (#2378)~~ by @mtlcl410 in https://github.com/storytold/pdfcraft/pull/2955. **Not in this release:** #6706 reverted it before the release was cut.
  • Search: centre the active match in the viewport (#3530) #3547
  • M2: the content crate's parser is checked against hayro's, operator by operator (#3107, #3108, #3111, #3177) #3563
  • Split edit-text paragraphs at headings and blank lines #3642
  • M14: the portable copy can register as a PDF handler for the current user (#3758) #3790
  • M14: the --control file is owner-only on Windows too, and the CLI checks it (#3922) #3956
  • M5: review statuses are hidden, chain per reviewer and show per reviewer, by /IRT reference (#4122) #4597
  • fix(edit): catch paragraph edges and frames without aiming for the hairline #4624
  • packaging: Flatpak may talk to the accessibility bus (#4612) #4641
  • fix(app): set Windows taskbar and Alt+Tab big icon (ICON_BIG) (#3818) #4681
  • Tests: highlighting an area off the text waits up to 30 s for the page text #4683
  • fix(optimize): merge side-by-side and grid-tiled image fragments #4818
  • M7: the Preferences language test opens the app menu on macOS #4882
  • Tests: a retained PDF version is the later of header and catalog (#3227 follow-up) #4933
  • Test preservation of PDF 2.0 structure metadata #5073
  • M12: XFA date pictures read a two-digit year with the century split of 30 #5074
  • M12: an XFA breakBefore or breakAfter without a targetType starts no new page (form.xfa-dynamic) #5145
  • fix(measure): resolve indirect scale objects and validate closed area edges #5270
  • fix(geom): normalize quad ordering for perspective foreshortening and scale #5273
  • M3: a pinned folder on Home collapses to its heading, and stays collapsed (#5295) #5341
  • fix(optimize): validate named destination targets and ignore orphaned refs #5362
  • fix(ui): selecting in an unchanged paragraph lands on the words the page shows (refs #5185) #5390
  • Create PDF from text takes Cyrillic and Greek, and reports no longer escape them #5403
  • Text from a justified line keeps one space between words #5496
  • Show form tab-order numbers #5509
  • M5: cloudy squares, circles and text boxes are drawn (comment.cloud) #4195
  • Accessibility: turn a layout table into Div and P tags in one call (#4105) #4250
  • M10: (n) names the page at position n, whatever its label, in page ranges and the page box (print.page-range) #4282
  • M4: a recovered document's first Save asks where instead of writing the sidecar's path (#3923) #4327
  • M11: PDF Optimizer can discard form submission, import and reset actions (optimize.discard-form-actions) #4416
  • fix(content): an inline image only the renderer reads counts as ambiguous #5874
  • fix(model,oracle): read a page box only when it has four entries; skip empty images #5941
  • fix(redact): read text-state operands from the end, as the renderer does #5951
  • fix(automation): sign_trust deduplicates certificates with a set #5965
  • fix(print,a11y): read summary scans one operator at a time and borrow form resources #5968
  • fix(engine): open linked documents without blocking and check the handle is a regular file #5982
  • fix(redact): read the page tree once per sanitize pass, not per page #5983
  • fix(xtask): render-oracle writes page pixels into a private temporary folder #5988
  • fix(cli): render needs the copying permission, as text does #5990
  • fix(cli): cap input reads, budget check's edit pass and escape its stderr records #5997
  • fix(xfa): one decoding allowance for all XFA packets #6000
  • Fix main's build and tests after the latest merges #6706
在 GitHub 查看全部改动 →