14
0

Accepting request 952834 from home:cges30901

Update to v1.19.5

OBS-URL: https://build.opensuse.org/request/show/952834
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=37
This commit is contained in:
2022-02-09 00:31:08 +00:00
committed by Git OBS Bridge
parent 5da8b3ec4a
commit da7b196dd0
4 changed files with 52 additions and 22 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:125783986da87fe1a5372d621e90fa49e454454af0b3d0f894858c146c712f81
size 2264704

3
PyMuPDF-1.19.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:393c9b9cb2669a8691a017b0fdb9ae0ecf3a4a66f2a5cea37d0aaa1a290a55a5
size 2266228

View File

@@ -1,20 +1,48 @@
-------------------------------------------------------------------
Sun Feb 6 14:02:23 UTC 2022 - Hsiu-Ming Chang <cges30901@gmail.com>
- Update to v1.19.5
* Fixed #1518. A limited “fix”: in some cases, rectangles and
quadrupels were not correctly encoded to support re-drawing by
Shape.
* Fixed #1521. This had the same ultimate reason behind issue
#1510.
* Fixed #1513. Some Optional Content functions did not support
non-ASCII characters.
* Fixed #1510. Support more soft-mask image subtypes.
* Fixed #1507. Immunize against items in the outlines chain,
that are "null" objects.
* Fixed re-opened #1417. (“too many open files”). This was due
to insufficient calls to MuPDFs fz_drop_document(). This also
fixes #1550.
* Fixed several undocumented issues in relation to incorrectly
setting the text span origin point_like.
* Fixed undocumented error computing the character bbox in
method Page.get_texttrace() when text is flipped (as opposed to
just rotated).
* Added items to the dictionary returned by image_properties():
orientation and transform report the natural image orientation
(EXIF data).
* Added method Document.xref_copy(). It will make a given target
PDF object an exact copy of a source object.
-------------------------------------------------------------------
Mon Jan 10 12:52:19 UTC 2022 - Hsiu-Ming Chang <cges30901@gmail.com>
- Update to v1.19.4
* Fixed #1505. Immunize against circular outline items.
* Fixed #1484. Correct CropBox coordinates are now returned in
all situations.
all situations.
* Fixed #1479.
* Fixed #1474. TextPage objects are now properly deleted again.
* Added Page methods and attributes for PDF /ArtBox, /BleedBox,
/TrimBox.
/TrimBox.
* Added global attribute TESSDATA_PREFIX for easy checking of OCR
support.
support.
* Changed Document.xref_set_key() such that dictionary keys will
physically be removed if set to value "null".
physically be removed if set to value "null".
* Changed Document.extract_font() to optionally return a
dictionary (instead of a tuple).
dictionary (instead of a tuple).
-------------------------------------------------------------------
Fri Dec 17 13:03:20 UTC 2021 - Hsiu-Ming Chang <cges30901@gmail.com>
@@ -95,7 +123,9 @@ Mon Nov 22 10:33:01 UTC 2021 - Hsiu-Ming Chang <cges30901@gmail.com>
* Changed terminology and meaning of important geometry concepts:
Rectangles are now characterized as finite, valid or empty, while
the definitions of these terms have also changed. Rectangles
specifically are now thought of being “open”: not all corners and sides are considered part of the retangle. Please do read the Rect section for details.
specifically are now thought of being “open”: not all corners
and sides are considered part of the retangle. Please do read
the Rect section for details.
* Added new parameter “no_new_id” to `Document.save()` /
`Document.tobytes()` methods. Use it to suppress updating the
second item of the document /ID which in PDF indicates that the

View File

@@ -21,7 +21,7 @@
%define skip_python2 1
%define pypi_name PyMuPDF
Name: python-%{pypi_name}
Version: 1.19.4
Version: 1.19.5
Release: 0
Summary: Python binding for MuPDF, a PDF and XPS viewer
License: AGPL-3.0-only