Borb

Latest version: v2.1.25

Safety actively analyzes 681857 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 12

2.0.21

This release is a small feature release:

- `borb` can now read some broken PDF documents
- tests have been added for this use case
- more documentation has been added in general (less than 10 undocumented methods)
- border for `RemoteGoToAnnotation` has been removed

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 document
- `JavaScriptPushButton` makes it easier to add your own `JavaScript` 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.

2.0.19

This release is a small feature release.

- Forms have been extended with `PushButton`, which enables you to place a `PushButton` 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 :face_with_spiral_eyes:

- A small fix was introduced for issue 71 on GitHub

- `Annotation` now is its own proper class, each seperate `Annotation` has its own subclass. This makes the `Page` 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.

2.0.18

This release is a cleanup release.

- The library (previously called `ptext`) still had some imports being renamed as `pDecimal` or `pString` or `pList`.
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.

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

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.

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` : Belarusian
- `bn` : Bengali
- `fi` : Finnish
- `lt` : Lithouanian
- `ro` : Romanian
- `ru` : Russian

Page 7 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.