+
Skip to content

Releases: borb-pdf/borb

v2.0.20

27 Feb 11:03

Choose a tag to compare

📣 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 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.

v2.0.19

19 Feb 14:08

Choose a tag to compare

📣 borb release 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 😵‍💫

  • 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.

v2.0.18

28 Jan 23:13

Choose a tag to compare

📣 borb release 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.

v2.0.17

14 Jan 18:32

Choose a tag to compare

📣 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

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

12 Dec 23:23

Choose a tag to compare

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

v2.0.15

17 Nov 18:46

Choose a tag to compare

📣 borb release 2.0.15

This is a bugfix release.

v2.0.14

09 Nov 21:48

Choose a tag to compare

📣 borb release 2.0.14

This is a bugfix release.

v.2.0.13

31 Oct 14:11

Choose a tag to compare

📣 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 and cmap
  • 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)

v2.0.12

17 Oct 14:49

Choose a tag to compare

📣 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

02 Oct 19:53

Choose a tag to compare

📣 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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载