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: 2.10.7
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: 2.10.8
Choose a head ref
  • 3 commits
  • 8 files changed
  • 3 contributors

Commits on Sep 14, 2022

  1. ROB: Improve NameObject reading/writing (#1345)

    Three kinds of changes were made in this PR
    
    1) _cmap.py : the str is coming from `/Encoding` which stores a NameObject : The conversion is already performed; no need to force it.
    2) _page.py : Replaced obsolete call in _debug_for_extract()
    3) _base.py :
    3.1) unnumber : all `#xx` should be performed prior to conversion to str (using utf-8) to allow multi language text
    3.2) read_from_stream : if utf-8 (normally the only one required) or gbk (kept to prevent regression) we will use charmap to get some sequence of chars
    3.3) renumber : added to recode in #xx sequence. renumber will also be compatible with utf-8 chars
    
    Closes #1344
    pubpub-zz authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    fb8be40 View commit details
    Browse the repository at this point in the history
  2. ENH: Add PageObject.user_unit property (#1336)

    Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
    MartinThoma and MasterOdin authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    3cf80bf View commit details
    Browse the repository at this point in the history
  3. REL: 2.10.8

    New Features (ENH):
    -  Add PageObject.user_unit property (#1336)
    
    Robustness (ROB):
    -  Improve NameObject reading/writing (#1345)
    
    Full Changelog: 2.10.7...2.10.8
    MartinThoma committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    168113b View commit details
    Browse the repository at this point in the history
Loading