pdfrb 0.7.46 → 0.7.47
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 +29 -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: 2dcee590a68dfc1fec660c7d144c158fcdede3bbac120fdab2a16933201ee642
|
|
4
|
+
data.tar.gz: 1b770b374db02c09028d5ddceee0a0ae2e713a40d8e5791642dfa66a173c95bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 795f22f5e8f279db56476ae8f2ecae2c61a599dcad9095ba64869518cfaa783349dd3809d631a16d982e6065eb672643629cb9039a698069908609447052a5a2
|
|
7
|
+
data.tar.gz: f44b5fa6276e053e9d8be9d38da537aef2bbdd1b22ecc4c7a6f161c1e8b2baaa4b83db50050fe6a7fb3314831102ee2200726539c315dd572de8708480cabb36
|
data/CHANGELOG.md
CHANGED
|
@@ -95,6 +95,35 @@ All notable changes to the pdfrb gem will be documented in this file.
|
|
|
95
95
|
* Removed all `instance_variable_set/get`, `send` to private
|
|
96
96
|
methods, `respond_to?` for type checks.
|
|
97
97
|
|
|
98
|
+
## [0.7.46] — 2026-08-26
|
|
99
|
+
|
|
100
|
+
### Added
|
|
101
|
+
|
|
102
|
+
* `Pdfrb::Font::CFF` (TN5176): INDEX parse/serialize, DICT operand
|
|
103
|
+
parsing, File parser (charset formats 0/1/2, CharStrings, Private
|
|
104
|
+
DICT + Local Subrs), and a safe subsetter. `subset_otf` rebuilds
|
|
105
|
+
the OTF table directory around the subsetted 'CFF ' table;
|
|
106
|
+
embedded OTFs now ship as smaller /FontFile3 /OpenType streams.
|
|
107
|
+
|
|
108
|
+
### Fixed
|
|
109
|
+
|
|
110
|
+
* **Resources attached to the Catalog** — Fonts, Shadings, and
|
|
111
|
+
Images put /Resources on the Catalog, a key PDF does not define;
|
|
112
|
+
every written page carried unresolvable resources for viewers.
|
|
113
|
+
All three now attach to the page-tree root (inherited, s7.7.3.2),
|
|
114
|
+
and pages no longer seed an overriding empty /Resources dict.
|
|
115
|
+
* **Subsetting was dead code** — `subset_fonts!` was never invoked,
|
|
116
|
+
so embedded fonts (TrueType and OTF) always shipped in full.
|
|
117
|
+
`Document#write` now runs it (config `writer.subset_fonts`), fed
|
|
118
|
+
by per-font codepoint usage recorded by `Canvas#text`.
|
|
119
|
+
|
|
120
|
+
## [0.7.45] — 2026-08-26
|
|
121
|
+
|
|
122
|
+
### Added
|
|
123
|
+
|
|
124
|
+
* CHANGELOG entries for 0.7.40-0.7.44; verified README usage
|
|
125
|
+
section; current CLAUDE.md status (was still describing 0.1.0).
|
|
126
|
+
|
|
98
127
|
## [0.7.44] — 2026-08-26
|
|
99
128
|
|
|
100
129
|
### Added
|
data/lib/pdfrb/version.rb
CHANGED