Releases: borb-pdf/borb
v2.0.20
📣 borb release 2.0.20
This release is a small feature release.
SoundAnnotation
can now be added to a PDF, enabling you to add voice-clips, music or other audio to your documentJavaScriptPushButton
makes it easier to add your ownJavaScript
enabled buttons- minor improvement to
TextRankKeywordExtraction
The majority of the work this sprint went into updating the documentation.
You should check it out. All code-samples in the README are now actually stand-alone code files that can be run.
They are automatically included in the README, rather than duplicated (as before), making it a lot easier to maintain the examples repo.
v2.0.19
📣 borb release 2.0.19
This release is a small feature release.
-
Forms have been extended with
PushButton
, which enables you to place aPushButton
in a PDF and tie an action to it. -
Tests for
PushButton
have been added to the repository. -
Examples for
PushButton
have been added to the examples repository. -
A test was added for issue #69 on GitHub, which deals with adding 500
Heading
objects to a PDF.
Turns out recursive parsing has its limits 😵💫 -
A small fix was introduced for issue #71 on GitHub
-
Annotation
now is its own proper class, each seperateAnnotation
has its own subclass. This makes thePage
class a lot lighter (where the code previously resided). -
Document
level JavaScript is now supported, examples and tests have been added to the corresponding repositories. -
Both embedded files and JavaScript use the concept of a
NameTree
which is now its own separate class.
In order to make sure your code runs smoothly, check your imports when upgrading to the latest version.
v2.0.18
📣 borb release 2.0.18
This release is a cleanup release.
- The library (previously called
ptext
) still had some imports being renamed aspDecimal
orpString
orpList
.
These occurences have been completely removed from the code. borb
can now create PDF documents that are almost PDF/A-1b valid. Some effort for fonts remains.
v2.0.17
📣 borb release 2.0.17
This is a bugfix release.
- Fixes for
Hyphenation
- Add extra features to line-art
- Add
GradientColoredDisjointShape
to enable users to draw a gradient - Add
RectangularMazeFactory
to enable users to draw mazes - Add
RectangularHitomezashi
to enable users to draw space-filling shapes
- Add
Some minor administrative work has also been done.
- A EULA is being drafted by lawyers to ensure
borb
can be licensed to customers. - The license in the
borb
repository have been modified to ensure no copyright violation.
v2.0.16
📣 borb release 2.0.16
This is a bugfix release.
- Fixes how
Alignment.JUSTIFIED
is handled when there is only 1 line of text. - Fixed how hyphenation handles words shorter than 4 characters.
- Everything formatted by
black
. - Added hyphenation for:
be
: Belarusianbn
: Bengalifi
: Finnishlt
: Lithouanianro
: Romanianru
: Russian
v2.0.15
📣 borb release 2.0.15
This is a bugfix release.
v2.0.14
📣 borb release 2.0.14
This is a bugfix release.
v.2.0.13
📣 borb release 2.0.13
With this release, borb
is one step closer to being able to write a PDF/A-1b document.
We still need to create an \OutputIntents
Dictionary in the document to be fully compliant.
This is planned for the next release.
This release features:
- Minor bugfix to estimating width of a space character
- Useful in text extraction
- Bugfix in
TrueTypeFont
to build a proper\Widths
array andcmap
- Fixes in
XMPDocumentInfo
class- Title
- Author
- Creator
- CreatorTool
- Separate logic that writes
\Info
Dictionary
- This class now also writes the
XMP
\Metadata
when needed - Enables PDF/A-1b
- Added tests for PDF/A-1b (preservation of metadata)
- This class now also writes the
v2.0.12
📣 borb release 2.0.12
This release features:
- Minor bugfix to
LayoutElement
to ensure\Resources
dictionary gets initialized. - Added asserts to ensure password-protected documents are handled properly.
v2.0.11
📣 borb release 2.0.11
This release features:
- minor bugfix to previous
add_event_listener
- refactor - First effort to implement PDF encryption
- Currently support for
StandardSecurityHandler
- RC4
- MD5
- Currently support for