pdfrb 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -0
- data/lib/pdfrb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afe96b128838bb02a8d79b9d8703cacd5fc59ddc4d5a1832278aa5a08c3b3b93
|
|
4
|
+
data.tar.gz: 8966b4f9e1378d7018d0090016fd0c79c178d5d66e91bd964663e6967759f33d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91471f385a944af56cc67821de3b3afe2e1ed9b0d31f447bd4759b87055c1aee0bdf1967dbf9700e22e89868f74b05dbfe0f7729167f6fb5693ba078abf9da66
|
|
7
|
+
data.tar.gz: 6aa22b9f69ff655634feb54c39a2a5938a92b4f3d861b12914e694f573c5788f15538284af291394008115409ca64b14102131bab3bac02955be065a529992d2
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the pdfrb gem will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.8.0] — 2026-08-27
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
* **veraPDF cross-check** — `Pdfrb::Task::VeraPdfCrossCheck` runs the
|
|
10
|
+
veraPDF binary and parses the XML report (flavour map, per-failure
|
|
11
|
+
clause/message/context); `rake verapdf` checks PDF/A compliance
|
|
12
|
+
locally (`brew install verapdf`), and a macOS CI job runs it on
|
|
13
|
+
every push/PR.
|
|
14
|
+
* **`Document#enable_pdf_a!(part:, conformance:)`** — GTS_PDFA1
|
|
15
|
+
OutputIntent with the embedded sRGB ICC profile, pdfaid XMP
|
|
16
|
+
identification, Title, and the right PDF version (2.0 for part 4).
|
|
17
|
+
* XMP `Packet#pdfa_id=` / `pdfa_part` / `pdfa_conformance`.
|
|
18
|
+
* `rexml` as a runtime dependency.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
* **Trailer /ID** (ISO 32000-1 s14.4): deterministic fingerprint now
|
|
23
|
+
emitted in classic and xref-stream trailers.
|
|
24
|
+
* **PDF/A 6.2.2**: pages carry an explicit /Resources copied from
|
|
25
|
+
the tree root at write time (inherited-only fails validation).
|
|
26
|
+
* **XMP parseability**: the pdfaid namespace was emitted after
|
|
27
|
+
rdf:Description's closed tag, producing invalid XML.
|
|
28
|
+
* **/Widths units** (6.2.11.5.1): hmtx advances scale into the
|
|
29
|
+
1000-unit glyph space; unitsPerEm != 1000 fonts previously wrote
|
|
30
|
+
raw units.
|
|
31
|
+
* **TrueType subsetting end-to-end**: the subsetter was unreachable
|
|
32
|
+
(missing autoload) and broken once reached — Encoding::BINARY
|
|
33
|
+
namespace bug, each_value on an Array, Head method called on raw
|
|
34
|
+
bytes, and a stub .notdef-only cmap. It now takes codepoints,
|
|
35
|
+
resolves gids via the font cmap, and emits a real format-4 cmap;
|
|
36
|
+
the subset stream replaces the add-time stream in place instead
|
|
37
|
+
of orphaning the full font.
|
|
38
|
+
|
|
39
|
+
Result: a PDF/A-2b document embedding Arial Unicode (23MB) passes
|
|
40
|
+
veraPDF with a <1MB subset and the text round-trips.
|
|
41
|
+
|
|
5
42
|
## [Unreleased]
|
|
6
43
|
|
|
7
44
|
### Added — Parity batches 4-9
|
data/lib/pdfrb/version.rb
CHANGED