Skip to content

4.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Apr 04:05
· 355 commits to main since this release

Changes (Release 4.8.0)

Summary (pypdfium2)

  • PdfTextPage.get_rect(): Added missing return code check and updated docs regarding dependence on count_rects().
    Fixed related test code that was broken but disabled by accident (missing asserts). Thanks to Guy Rosin for reporting {issue}207.
  • Added PdfImage.get_size() wrapping the new pdfium function FPDFImageObj_GetImagePixelSize(), which is faster than getting image size through the metadata.
  • build_pdfium.py --use-syslibs: Changed sysroot="/" (invalid) to use_sysroot=false (valid). This allows us to remove a botched patch.
pypdfium2 commit log

Commits between 4.7.0 and 4.8.0 (latest commit first):

  • 0c1a20d [autorelease] update changelog and version file
  • 24fbf07 Rename variable success to ok across the tree
  • 5b4d44f unsp: change handling of attachment
  • 92ab6dd Add bindings to & use FPDFImageObj_GetImagePixelSize()
  • e418360 A few style improvements (CC #212)
  • 82d2a12 sourcebuild: move use_sysroot=false to linux section
  • 6bfb440 syslibs build: replace sysroot="/"+patch w/ use_sysroot=false
  • 0c17bcc Possible solution to #207
  • dea9c70 Remove a task (CC #205)
PDFium commit log

Commits between 5715 and 5731 (latest commit first):

  • 9db61cf2d Set up DiscardableMemoryAllocator for pdfium fuzzer
  • 379bfc96b Added faster method for getting the size of an image object.
  • f51e7a1cf Cache font widths in CFX_GlyphCache
  • 40f98eb42 Implement CFX_SkiaDeviceDriver::GetClipBox()
  • 594190814 [Skia] Use source rectangle passed to SetDIBits()
  • 0e8a8c6e5 Update NOINLINE definition
  • af3848d11 Delete unused macros from compiler_specific.h
  • 3f0996155 Represent fxcmap::CMap::MapType with a bool
  • da78dcba4 Change fxcmap::CMap::MapType an enum class with properly named values
  • 5bb3a5ac2 Put FXCMAP code in namespace fxcmap
  • 357729f1d Consistently use #if defined(_SKIA_SUPPORT_)
  • 2bd5d5761 Avoid passing nullptr to vswprintf() inside WideString::FormatV()
  • cffe2384b Remove a spurious RetainPtr in the CFX_DIBExtractor ctor
  • 2327115fd Get rid of a Windows-only -Wno-switch flag
  • 5dfeac1e0 Fix roll-freetype.sh on Linux
  • 409e3e252 Fix -Wswitch warning in cfpf_skiafontmgr.cpp
  • ff7e020b9 Add build_config.h to core/fxcrt/fx_extension.h
  • 9a89e728d Update metadata in third_party/freetype/README.pdfium
  • 5e106987a Roll Code Coverage from b0f9daa5b3f5 to 9b51524c4f75 (1 revision)
  • f66276f2e Roll Catapult from c9f4f650cdee to ac30cc4bc7d3 (48 revisions)