Skip to content

#954 Speed up loading fonts from JAR#955

Merged
andreasrosdalw merged 1 commit into
LibrePDF:masterfrom
asolntsev:fix/954-speed-up-loading-fonts
Nov 1, 2023
Merged

#954 Speed up loading fonts from JAR#955
andreasrosdalw merged 1 commit into
LibrePDF:masterfrom
asolntsev:fix/954-speed-up-loading-fonts

Conversation

@asolntsev

Copy link
Copy Markdown
Contributor

Description of the new Feature/Bugfix

I've wrapped InputStream into BufferedInputStream. That made much faster loading fonts from openpdf-*.jar.

Related Issue: #954

Unit-Tests for the new Feature/Bugfix

  • Unit-Tests added to reproduce the bug
  • Unit-Tests added to the added feature

The test is described in #954.
Running test inside of OpenPDF doesn't really show the problem, so I decided not to commit it.

Compatibilities Issues

No.

Testing details

Described in #954

wrapping InputStream to BufferedInputStream makes much faster loading fonts from openpdf-*.jar
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@asolntsev

asolntsev commented Sep 25, 2023

Copy link
Copy Markdown
Contributor Author

@asturio @andreasrosdal @JAndrassy ^^^ friendly reminder ^^^

@asolntsev

Copy link
Copy Markdown
Contributor Author

@dadza @andreasrosdal @asturio Is there anybody?... :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants