Help language development. Donate to The Perl Foundation

PDF::Class zef:dwarring last updated on 2023-05-12

0.5.13  2023-05-13T07:14:42+12:00
   - Make PDF::ISO_32000 a dependency. Apply roles to classes.

0.5.12  2023-04-06T06:25:08+12:00
   - Make NameTree and NumberTree accessors thread-safe

0.5.11  2022-12-28T12:55:03+13:00
   - fix /StructElem /C(class) definition
   - use unit form of classes and roles

0.5.10  2022-12-22T07:46:31+13:00
   - Regenerate 'Classes Quick Reference' in
   - Make extensive use of 'also is' and 'also does' for class
     composition. This was needed for `make-quick-ref.raku` work

0.5.9  2022-12-20T10:12:51+13:00
   - Fix PDF::Tags::Reader regression

0.5.8  2022-12-20T09:47:06+13:00
   - Make Attribute /O entry :required (as per spec).
   - Add PDF::Attributes::{Layout|List|PrintField|Table|UserProperties}

0.5.7  2022-11-03T17:45:46+13:00
   - Add PDF::Signature byte-ranges() method
   - Improve field naming conformance in PDF::Field and field
     handling in pdf-fields.raku. Names should be of the form
     <parent>.<child> for nested form fields.

0.5.6  2022-09-04T06:04:03+12:00
   - Fix pdf-checker.raku for PDF::Content v0.6.3

0.5.5  2022-07-05T08:01:32+12:00
   - Fix PDF::Mask.TR (transfer-function) coercements
   - Fix PDF::Destination named destination and GoTo/GotoR page destination
   - Make --list the default action in pdf-fields.raku
   - Fix pdf-checker.raku for PDF v0.5.8+

0.5.4  2022-06-09T14:33:45+12:00
   - Fix PDF::Field coerce-field() for compatibility with FDF::Field (FDF module)

0.5.3  2022-06-09T10:14:02+12:00
   - Fix script pdf-content-dump.raku
   - Adjust tests for PDF::Content 0.6.4+ simplified ops AST
   - Use PDF::Grammar 0.3.0+ simplified AST for Postscript functions

0.5.2  2022-06-07T17:20:38+12:00
   - Adjust tests for PDF 0.5.8+ which has a simplified AST

0.5.1  2022-05-11T09:06:10+12:00
   - Use PDF::Content 0.6.1 core font cache. Prefer core-font loading
     at the PDF level.

0.5.0  2022-03-31T07:18:55+13:00
  - Added Attributes for PDF::StructElem /A entry. Also used for PDF::StructTreeRoot
    /ClassMap entry.
  - Also added PDF::StructElem vivify-attributes() method to set-up an attributes
    object for a particular owner (/O entry).
  - move release repository from CPAN to zef ecosystem

0.4.18  2021-12-17T07:34:24+13:00
  - Fix PDF::Outline(s) add-kid() method to work with named destinations.

0.4.17  2021-10-14T11:50:40+13:00
  - Fix handling of /G entry in PDF::Mask. It references an XObject Form
    with a /Group transparency group entry, rather than a transparency group
  - remove catalog /OpenAction entry in pdf-burst.raku; to avoid secondary
    page references

0.4.16  2021-10-09T09:33:31+13:00
  - Use PDF::Content v0.5.7+ PDF::Content::Canvas role for composing
    XObject Form and Tiling Pattern classes
  - Replace canvas(&code) with html-canvas(&code) in pdf-canvas.t
    as deprecated in PDF::Content v0.5.8+

0.4.15  2021-08-07T06:53:26+12:00
  - fixed type checks for Type0 font /Encoding entry and Mask /G
    (transparency-group) entry.
  - fixed #19 /Resources entry placement by removing initialization of
    /ProcSet[ /PDF /Text ]. This is marked obsolete in ISO-32000. It's
    purpose is/was to support conversion to PostScript in older drivers.

0.4.14  2021-07-09T09:10:33+12:00
  - fix stream decoding in PDF::Function::Sampled
  - fix pdf-font.t for PDF::Content v0.5.4+

0.4.13  2021-04-15T11:04:33+12:00
  - rename method calls .perl -> .raku
  - fix test for pending Rakudo 2021.04

0.4.12  2021-03-25T13:24:49+13:00
  - Fix tests for PDF::Content v0.5.0+. core-font() now returns a
    PDF::Content::FontObj object.

0.4.11  2021-02-11T15:36:59+13:00
  - Fix PDF::ColorSpace coercement of [/Pattern]
  - Fix PDF::Function::Sampled handling of uncompressed stream data

Release 0.4.10
- Rename of PDF::Reader -> PDF::IO::Reader and PDF::Writer -> PDF::IO::Writer
 in PDF v0.4.5

Release 0.4.9
- Add external PDF::MarkInfo role.

Release 0.4.8
- Use COS COERCE() method, introduced with PDF 0.4.4+ coercion semantics.
- Fix invalid pdf-function-sampled.t stream /Length test.

Release 0.4.7
- Change PDF::Function::Postscript calc() return value from Seq to Array - for
  consistency with other function types.
- Fix Font::Descriptor::CID, broken in last release (PDF::Tags issue #4)

Release 0.4.6
- Fix SMask (soft-mask) handling in PDF::Image to-png() method
- Add role for Font::Descriptor::CID /Style entry
- Export PDF::Field::Choice :FieldOptions, :&coerce-field-opts for reuse
  by FDF::Field (FDF module)
- Declare entries as PDF::COS::TextString in PDF::AcroForm, PDF::Action::SubmitForm,
  PDF::OutputIntent. We need these to correctly encode and decode as UTF-8/PDFDoc.

Release 0.4.5
- Renamed sub &export: PDF::Field :&coerce -> :&coerce-field
- Correct additional actions (added in 0.4.4); separate roles for
  Catalog, Fields, Annotations and Pages. #15
- Added class PDF::Action::SubmitForm
- Fix t/pdf-outline.t to work with PDF v0.4.4
- Fix pdf-toc.raku

Release 0.4.4
- Add PDF::Class::Defs. Fix annot detection in PDF::Field
- Rename methods PDF::Field.flags -> PDF::Field.field-flags and
  PDF::Annots.flags -> PDF::Annots.annot-flags. Keep these distinct
  as the PDF::Field role is commonly mixed into PDF::Annot.
- Add enumerations PDF::Annot :AnnotFlag and PDF::Field :FieldFlag,
  :BtnFieldFlag, :TextFieldFlag, ChoiceFieldFlag
- Add role PDF::AdditionalActions
- Renamed github project and repository p6-pdf/PDF-Class-p6 -> pdf-raku/PDF-Class-raku

Release 0.4.3
- [PDF::Field]
  -- fix .fields() and .fields-hash() methods to return only terminal fields
  -- .value() method now returns .V // .DV (value or default-value)
- Provide top level fields() and field-hash(); (similar to FDF)
- Enable update of name-trees (via .name-tree()) and number-trees
  (via .number-tree()). Added calls to .cb-finish() which now must
  be called to publish the updates.
- Also support name/number-tree vivification
- Add PDF::Class.creator() method - editable list of creators. Also
  separate creators with '; ' when writing to PDF::Info.Creator; seems
  to be the convention.

Release 0.4.2
- Improved checking of name and number trees (pdf-checker.raku)
- Fixes to .calculator() method in PDF::Function::Stitching
  and PDF::Function::Postscript

Release 0.4.1
- Add role PDF::Class::StructItem
- Fix t/pdf-xobject-form.t to pass against PDF::Content v0.4.1

Release 0.4.0
- Rename modules *.pm -> *.rakumod and scripts *.p6 -> *.raku
- Add annotation classes: Highlight, Underline, Squiggly, StrikeOut

Release 0.3.9
- Rename PDF::StructElem.structure-type() alias to .tag()
- Minor refactor of destination coercements. Add PDF::Names; extracted from PDF::Catalog.
- Added classes PDF::Sound PDF::Action::Sound

Release 0.3.8
- Add Catalog Permissions and PDF::Signature::Reference roles
- More forgiving PDF::ExtGState and PDF::Annot.Border[3] (dash entry)
- Make PDF::FontDescriptor into a role; missing /Type is quite common, e.g. in
  older Ghostscript PDF files.

Release 0.3.7
- Populate Info /Creator with Perl and tool-chain versions, and /Producer with actual producer class

Release 0.3.6
- Fixed load of PDF::Group::Transparency class
- Adjust META6 source_url (see perl6/ecosystem-unbitrot#492)

Release 0.3.5
- renamed exported class Filespec -> File

Release 0.3.4
- Remove questionable "use lib '.'" from test suite
- Rename export subset PDF::Filespec :Filespec -> :File

Release 0.3.3
- Add coercements for Catalog EmbeddedFile name-tree/
- Fix warning on load of EmbeddedFile objects
- Filespec and Annotation adjustments for PDF::API6 0.1.3

Release 0.3.2
- Fix PDF::Border /S (border-style entry)

Release 0.3.1
- Fix StructElem coercement (broken in 0.3.0)
- Fix PDF::Field .type() method to return 'Field', for
  consistency, and .subtype() to return the field type.

Release 0.3.0
- Fixed pdf-toc.p6
- Feedback from trial integration PDF::ISO_32000 package
  (work in progress)

Release 0.2.9
- Script fixes:
  -- pdf-burst.p6 to work with inherited page resources. added
     --batch-size option for multi-page bursts
  -- fixed pdf-revert.p6, pdf-info.p6 to not be confused by
     hybrid xrefs
  -- minor improvements to: pdf-append.p6, pdf-content-dump.p6,

Release 0.2.8
- Added PDF::Outline(s) .kids iterator and .add-kid method

Release 0.2.7
- Created PDF::Class::Util - with support functions page numbering schemes and PDF page labels.
  Including Roman and Decimal.
- Added page-label printing to pdf-toc.p6
- Added pdf-content-dump.p6

Release 0.2.6
- added pdf-toc.p6 (table-of-contents) utility
- further pdf-checker.p6 improvements:
  --trace option now displays encoded hex and text-strings as Perl strings

Release 0.2.5
- Added PDF::Filespec, PDF::Action::Launch
- pdf-checker.p6 improvements

Release 0.2.4
- Added PDF::Annot::Markup, PDF::Annot::Popup,
  PDF:::Annot::ThreeD, PDF::Markup::Markup3D

Release 0.2.3
- Fix PDF 1.6+ Cross Reference Streams, broken in 0.2.2

Release 0.2.2
- Fix PDF::Shading::Function
- Added PDF::ICCProfile, PDF::Annot::Caret, PDF::Signature,

Release 0.2.1
- Added PDF::Action::GoToR - goto remote
- Added PDF::Action::Named - named action
- Added PDF::Image. Use for PDF::Page.Thumb(thumbnail-image) attribute
- Changed PDF::FontDescriptor from a class to a role
- Removed subclass PDF::OutputIntent::GTS_PDFX
- Fixed setup of Resources ProcSet array
- Improved page navigation in pdf-checker.p6

Release 0.2.0
- Simplifications to PDF::Class::Loader. Made PDF::CIDSystemInfo a role.
- Corrections, mostly based on pdf-checker --strict feedback, to:
  PDF::Font::CIDFont, PDF::Metadata::XML, PDF::Pages,
  PDF::ViewerPreferences, PDF::Field::Signature,
  PDF::OutputIntent::GTS_PDFX, PDF::Catalog, PDF::Encoding,
Release 0.1.9
- Development of PDF::NameTree, PDF::NumberTree, PDF::StructElem and PDF::FontFile
- Further development of PDF::Destination. Both explicit and named destinations.
- Added PDF::Catalog.Dests coercements
- Fixed PDF::Action coercements

Release 0.1.8
- Add classes:
  -- PDF::OCG (Optional Content Groups)
  -- PDF::OCMD (Optional Content Membership Dictionary)
  -- PDF::MCR (Marked Content Reference)
- Remove some trivial single-use subsets. Replace with 'where' clauses on
  entry attributes.
- Move t:Doc::* test classes from lib/ to t/

Release 0.1.7
- Adjust t/helloworld.t and t/pdf-xobject-form.t for PDF::Content 0.2.2

Release 0.1.6
- Added PDF::StructTreeRoot, PDF::NameTree
- Altered composition of PDF::Mask
- Fixed DeviceN Color load warnings

Release 0.1.5
Improvements from field testing of pdf-checker.p6:
- PDF::Outline, PDF::Outlines:
  -- fix coercements. Convert from classes to roles as /Type is optional.
  -- Allow negative /Count values, as per spec
- PDF::Destination: allow trailing optional array elements to be omitted
- PDF::ColorSpace::Pattern: added as a new colorspace type
- PDF::Font:
  -- fix coercement of type1 & 3 Encoding entry
  -- coerce type3 fonts CharProcs as a PDF::Content::Graphics content stream

Release 0.1.4
- Altered composition of some classes to avoid 'version skew' compilation
  errors (Issue #11)
- Fixed PDF::ExtGState.SMask accessor; new sub classes PDF::Mask::Alpha,
- Improvements to pdf-checker.p6

Release 0.1.3
- Fix ToUnicode entry in type 0, 1 and 3 fonts.

Release 0.1.2
- PDF::Action::URI class
- PDF::Destination.construct() method
- PDF::Destination.type() method to .fit()

Release 0.1.1
- Renamed role PDF::OutlineItem -> PDF::Outline
- Add PDF::Destination; removed destination handling from PDF::Action; includes:
  -- `construct` method for creating new page destinations
  -- `:Fit` enumeration export for destination fitting modes

Release 0.1.0
- Adjust to latest PDF. PDF::DAO classes have been renamed
  to PDF::COS (Carousel Object System)

Release 0.0.8
- Revamped PDF::Function::Sampled::Calculator

Release 0.0.7
Add PDF::Function calculator and evaluate methods, classes:
- PDF::Function::PostScript
- PDF::Function::Sampled
- PDF::Function::Exponential
- PDF::Function::Stitching

Release 0.0.6
- Fix PDF::Page.Annots accessor. Now coerces fields to PDF::Field

Release 0.0.5
- Set up accessor aliases, e.g. D(dash) in PDF::Appearance

Release 0.0.4
- Add etc/ use it to generate table of classes in

Release 0.0.3
- Correct attribute name: Bound -> Bounds in PDF::Function::Stitching

Release 0.0.2
- Fix syntax of PDF::Content::XObject['PS'] and PDF::Font::Type3

Release 0.0.1
- initial release