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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/lib/pdfrb/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 337b6b4b76c09f00902c8ef033eca2750dab1ca917693afd8eac09fe97e9c954
4
- data.tar.gz: 9c6ff7acc3ee63cb5b680eba8b9f7469c7421cf19b514391f461de228b6eaec2
3
+ metadata.gz: afe96b128838bb02a8d79b9d8703cacd5fc59ddc4d5a1832278aa5a08c3b3b93
4
+ data.tar.gz: 8966b4f9e1378d7018d0090016fd0c79c178d5d66e91bd964663e6967759f33d
5
5
  SHA512:
6
- metadata.gz: b8038696cccb6196ede83f12111f0c32af4171d6200047b92e0f7fea97a9ebf86c73ee428ad6943b7512cab3306fc23802115c3f19201a2d73f68de6f52c76d0
7
- data.tar.gz: de8f2bd6aff02c082a1b4c204d317d5544defcc1c50f4f6cbfe604e5f4f6a5d2e854b299d7b921cb3f13a599a1df52491ba4d8e6b8a379dabe6d8d40cc7192de
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pdfrb
4
- VERSION = "0.8.0"
4
+ VERSION = "0.8.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdfrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.