Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: py-pdf/pypdf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.0.0
Choose a base ref
...
head repository: py-pdf/pypdf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.0.1
Choose a head ref
  • 4 commits
  • 7 files changed
  • 2 contributors

Commits on Jan 19, 2024

  1. Configuration menu
    Copy the full SHA
    facd6fd View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2024

  1. BUG: layout mode text extraction ZeroDivisionError (#2417)

    For fonts without an explicitly defined width for the " " character, it's still possible to generate a ZeroDivisionError when compiling TextStateParams objects in _fixed_width_page.recurs_to_target_op() if the font size or the Tz parameter has been set to 0. 
    
    Discovered during processing of a "pre-OCR'd" image PDF having `{"/BaseFont": "/GlyphLessFont"}`.
    
    DOC: Remove duplicate docstring for layout_mode_strip_rotated
    shartzog authored Jan 21, 2024
    Configuration menu
    Copy the full SHA
    9e494c6 View commit details
    Browse the repository at this point in the history
  2. TST: Skip tests using fpdf2 if it's not installed (#2419)

    The Debian ecosystem installs only packages which are also present
    in the Debian ecosystem for testing. This includes pytest, but it
    does not include fpdf2.
    
    Adding the line 'pytest.importorskip("fpdf")' within the test
    and before the import ensures that pytest skips the test in
    case fpdf is not installed.
    
    Closes #2408
    MartinThoma authored Jan 21, 2024
    Configuration menu
    Copy the full SHA
    54ae0a6 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. REL: 4.0.1

    ## What's new
    
    ### Bug Fixes (BUG)
    -  layout mode text extraction ZeroDivisionError (#2417) by @shartzog
    
    ### Testing (TST)
    -  Skip tests using fpdf2 if it\'s not installed (#2419) by @MartinThoma
    
    [Full Changelog](4.0.0...4.0.1)
    MartinThoma committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    7579329 View commit details
    Browse the repository at this point in the history
Loading