File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 11{{$NEXT}}
22
3+ 0.5.24 2025-07-27T11:20:57+12:00
4+ - Fix a PDF::API6 regression in t/00-basic.t; version()
5+ setter from a Version object.
6+
370.5.23 2025-07-27T10:47:58+12:00
48 - Fix PDF::Mask /SMask coercement; failing test in
59 t/pdf-resources.t
Original file line number Diff line number Diff line change 163163 ],
164164 "test-depends" : [
165165 ],
166- "version" : " 0.5.23 "
166+ "version" : " 0.5.24 "
167167}
Original file line number Diff line number Diff line change 11use v6 ;
22
33# | PDF entry-point. either a trailer dict or an XRef stream
4- unit class PDF::Class : ver<0.5.23 >;
4+ unit class PDF::Class : ver<0.5.24 >;
55
66use PDF;
77also is PDF;
@@ -38,14 +38,14 @@ has PDF::COS::Type::XRef $.XRefStm is entry; #= Only applicable to Hybrid cross
3838
3939method type { ' PDF' }
4040method version is rw {
41- Proxy . new (
42- FETCH => {
43- Version . new : $ . catalog < Version > // self .? reader .? version // ' 1.4 '
44- },
45- STORE => -> $ , Version $ _ {
46- $ . catalog < Version > = name ( $ _ );
47- },
48- ) ;
41+ sub FETCH ($) {
42+ Version . new : $ . catalog < Version > // self .? reader .? version // ' 1.4 '
43+ }
44+ sub STORE ( $ , Version $ _ ) {
45+ $ . catalog < Version > = name ( . Str );
46+ }
47+
48+ Proxy . new : : & FETCH , : & STORE ;
4949}
5050
5151# make sure it really is a PDF, not an FDF file etc
You can’t perform that action at this time.
0 commit comments