Add '$f' and '$p' expansions to 'exec' shortcut function
Fix build with meson 0.60
Add :source command
Various fixes and improvements
Updated translations
(Fixes build issue with updated meson in pkgsrc)
Release 22.02.0:
core:
* Signature: Add a way to detect unsigned FormFieldSignature
* Signature: Suport background image when using left and right text
* Signature: Fix path where to search for Firefox NSS in Windows
* Signature: Fix NSS code to work correctly in Windows/Android
* Count only signature fields in PDFDoc::getNumSignatureFields
* Minor code improvements
qt:
* Allow signing unsigned signature fields
* Allow passing a background image for the signature when signing
* Allow passing the document password when signing
* Fix leftFontSize being ignored when signing
glib:
* try with utf8 password if latin1 fails
* New method for getting all signature fields of a document
* Fix compile with MSVC
utils:
* pdfsig: Fix compile with MSVC
build system:
* Fix NSS cmake check for MSVC
The package allows the to user select any font size (via e.g.
\fontsize{...}{...}\selectfont), even those sizes that are not
listed in the .fd file. If such a size is requested, LaTeX will
search for and select the nearest listed size; anyfontsize will
then scale the font to the size actually requested.
This package provides special PGF/TikZ nodes for the text,
marginpar, footer and header area of the current page. They are
inspired by the 'current page' node defined by PGF/TikZ itself.
Contributed by Jean-Jacques Puig
[ 98%] Linking CXX executable poppler-render
/usr/bin/ld: ../../libpoppler.so.117.0.0: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../../libpoppler.so.117.0.0: undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&, std::error_code&)'
collect2: error: ld returned 1 exit status
Patch is similar to upstream's
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1203
Upstream changes (from NEWS):
== Ruby-GNOME 3.5.1: 2021-01-17
This is a release for Windows.
=== Changes
==== All
* windows: Add workaround for mingw-w64-x86_64-gettext-0.21-1 or
later. Dummy (({DllMain()})) is defined.
==== Ruby/Pango
* Fixes
* Fixed a bug that can't be started.
[GitHub#1456][Reported by Akira Ouchi]
==== Ruby/GObjectIntrospection
* Fixes
* Fixed a bug that (({NoMethodError})) is raised on invalid
signature for constructor.
=== Thanks
* Akira Ouchi
== Ruby-GNOME 3.5.0: 2021-01-11
This is a release that adds support for Ractor.
Ruby/GObjectIntrospection has some backward incompatibilities for
Ractor support. If you have any problem, please report it to
https://github.com/ruby-gnome/ruby-gnome/issues .
=== Changes
==== Ruby/GLib2
* Improvements
* Added support for Ractor.
* Added support for signal handlers and virtual methods in
included module.
* Added support for (({try_convert})) protocol for property setter.
* Added support for converting tuple (({GVariant})) to Ruby.
==== Ruby/GIO2
* Improvements
* Added support for GIO 2.70.
* Added (({Gio::RubyInputStream})) to use Ruby objects as
(({Gio::InputStream})).
* Added (({Gio::RubyOutputStream})) to use Ruby objects as
(({Gio::OutputStream})).
==== Ruby/GObjectIntrospection
* Improvements
* Added support for Ractor. This introduced some backward
incompatiblities.
* Added support for "transfer full" for out (({GError})).
[GitHub#1437][Reported by mcclumpherty]
* Added support for changing whether GVL is unlocked per object by
the following APIs.
* (({GObjectIntrospection::FunctionInfo#set_lock_gvl_default}))
* (({GObjectIntrospection::FunctionInfo#add_lock_gvl_predicate}))
* (({GObjectIntrospection::Loader#prepare_function_info_lock_gvl}))
* Added support for converting from raw argument to enum.
* Added support for (({GList<GVariant>})) return value.
* Added support for reporting an error in callback.
* Fixes
* Fixed a bug that virtual functions of grandparent class can't be
implemented.
[GitHub#1433][Patch by shibafu]
==== Ruby/Pango
* Improvements
* Added support for Ruby 3.2.
==== Ruby/GTK3
* Improvements
* Improved documentation.
[GitHub#1454][Patch by Andy Maleh]
* Added support for Ruby 3.2.
==== Ruby/GDK4
* Improvements
* Updated pkg-config ID.
[GitHub#1435][Patch by Sasi Olin]
==== Ruby/GTK4
* Improvements
* Removed needless rsvg2 dependency on Windows.
[GitHub#1440][Reported by HuBandiT]
* Fixes
* Fixed typos in warning messages.
[GitHub#1442][Patch by HuBandiT]
[GitHub#1415][Reported by rubyFeedback]
=== Thanks
* shibafu
* Sasi Olin
* mcclumpherty
* HuBandiT
* rubyFeedback
* Andy Maleh
Release 22.01.0:
core:
* Allow local (relative to dll) fonts dir on Windows
* TextOutputDev: require more spacing between columns. Issue #1093
* Fix crash in Splash::gouraudTriangleShadedFill. Issue #1183
* Fix crash when calling Form::reset()
* GfxSeparationColorSpace: Check validity of colorspace and function. Issue #1184
* Minor code improvements
glib:
* Include glib.h before using defines from it
* Close file descriptors on error
* Plug some memory leaks
* Replace use of deprecated g_memdup/g_time_zone_new
* Remove FD-taking functions on windows
utils:
* pdfsig: Add support for documents with passwords
* pdfsig: Fix signing with -sign if nss password is needed
Release 21.12.0:
core:
* Add API to add images
* CairoOutputDev: Fix de-duping of Flate images
* Fix crash on broken files when using non-default ENABLE_ZLIB_UNCOMPRESS. Issue #393
* Minor code improvements
glib:
* Add API for validation of signatures
* Add API to read/save to file descriptor
utils:
* pdftohtml: Reduce sensitivity of duplicate detection. Issue #1117
build system:
* Increase C++ standard to 17
This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.
Set this flag for packages that need it and bump PKGREVISION.
Changelog:
10.5.0: December 21, 2021
+ Packaging changes
o Pre-built documentation is no longer distributed with the source
distribution. The AppImage and Windows binary distributions still
contain embedded documentation, and a separate doc distribution
file is available from the qpdf release site. Documentation is now
available at https://qpdf.readthedocs.io for every major/minor
version starting with version 10.5. Please see Packaging
Documentation for details on how packagers should handle
documentation.
o The documentation sources have been switched from docbook to
reStructuredText processed with Sphinx. This will break previous
documentation links. A redirect is in place on the main website. A
top-to-bottom review of the documentation is planned for an
upcoming release.
+ Library Enhancements
o Since qpdf version 8, using object accessor methods on an instance
of QPDFObjectHandle may create warnings if the object is not of the
expected type. These warnings now have an error code of
qpdf_e_object instead of qpdf_e_damaged_pdf. Also, comments have
been added to QPDFObjectHandle.hh to explain in more detail what
the behavior is. See Object Accessor Methods for a more in-depth
discussion.
o Add Pl_Buffer::getMallocBuffer() to initialize a buffer allocated
with malloc() for better cross-language interoperability.
+ C API Enhancements
o Many thanks to M. Holger whose contributions have heavily
influenced these C API enhancements. His several suggestions, pull
requests, questions, and critical reading of documentation and
comments have resulted in significant usability improvements to the
C API.
o Overhaul error handling for the object handle functions C API. Some
rare error conditions that would previously have caused a crash are
now trapped and reported, and the functions that generate them
return fallback values. See comments in the ERROR HANDLING section
of include/qpdf/qpdf-c.h for details. In particular, exceptions
thrown by the underlying C++ code when calling object accessors are
caught and converted into errors. The errors can be checked by
calling qpdf_has_error. Use qpdf_silence_errors to prevent the
error from being written to stderr.
o Add qpdf_get_last_string_length to the C API to get the length of
the last string that was returned. This is needed to handle strings
that contain embedded null characters.
o Add qpdf_oh_is_initialized and qpdf_oh_new_uninitialized to the C
API to make it possible to work with uninitialized objects.
o Add qpdf_oh_new_object to the C API. This allows you to clone an
object handle.
o Add qpdf_get_object_by_id, qpdf_make_indirect_object, and
qpdf_replace_object, exposing the corresponding methods in QPDF and
QPDFObjectHandle.
o Add several functions for working with pages. See PAGE FUNCTIONS in
include/qpdf/qpdf-c.h for details.
o Add several functions for working with streams. See STREAM
FUNCTIONS in include/qpdf/qpdf-c.h for details.
o Add qpdf_oh_get_type_code and qpdf_oh_get_type_name.
o Add qpdf_oh_get_binary_string_value and qpdf_oh_new_binary_string
for making it easier to deal with strings that contain embedded
null characters.
# Release 1.8.0
- Included Spanish translations supplied by Hector, Fernando and Roberto
- Included Portugese translations supplied by João Ricardo Lourenço
# 2013-08-05: Release 1.7.0.
New option omittable for people who don't want to have a table with
all revisions.
# Release 1.8.0
- Included Spanish translations supplied by Hector, Fernando and Roberto
- Included Portugese translations supplied by João Ricardo Lourenço
# 2013-08-05: Release 1.7.0.
New option omittable for people who don't want to have a table with
all revisions.
Changelog:
10.4.0: November 16, 2021
+ Handling of Weak Cryptography Algorithms
o From the qpdf CLI, the --allow-weak-crypto is now required to
suppress a warning when explicitly creating PDF files using RC4
encryption. While qpdf will always retain the ability to read and
write such files, doing so will require explicit acknowledgment
moving forward. For qpdf 10.4, this change only affects the
command-line tool. Starting in qpdf 11, there will be small API
changes to require explicit acknowledgment in those cases as well.
For additional information, see Chapter 6, Weak Cryptography.
+ Bug Fixes
o Fix potential bounds error when handling shell completion that
could occur when given bogus input.
o Properly handle overlay/underlay on completely empty pages (with no
resource dictionary).
o Fix crash that could occur under certain conditions when using
--pages with files that had form fields.
+ Library Enhancements
o Make QPDF::findPage functions public.
o Add methods to Pl_Flate to be able to receive warnings on certain
recoverable conditions.
o Add an extra check to the library to detect when foreign objects
are inserted directly (instead of using QPDF::copyForeignObject) at
the time of insertion rather than when the file is written.
Catching the error sooner makes it much easier to locate the
incorrect code.
+ CLI Enhancements
o Improve diagnostics around parsing --pages command-line options
+ Packaging Changes
o The Windows binary distribution is now built with crypto provided
by OpenSSL 3.0.
Version 53.4
------------
Bug fixes:
* Fix background on pages with a bleed property
* Use SVG width/height as inner size when no viewBox is given
* Only enable letter- and word-spacing when needed
* Don’t display inputs with "hidden" type
* Allow quotes in url() syntax for SVG,
* Use better approximations for font ascent and descent values in SVG
* Fix images embedded from multiple pages
* Use a better hash for fonts to avoid collisions
* Set SVG ratio when width and height are 0
Version 53.3
------------
Bug fixes:
* Fix crashes and malformed PDF files
* Handle cx and cy in SVG rotations
* Fix marker-start being drawn on mid vertices
Version 53.2
------------
New features:
* Re-add the ``make_bookmark_tree()`` method
Bug fixes:
* Fix package deployed on PyPI
Version 53.1
------------
Bug fixes:
* Don’t crash when leaders are in floats
* Embed images once
* Fix crash with SVG intrinsic ratio
Documentation:
* Include ``weasyprint.tools`` removal in documentation
Version 53.0
------------
This version also includes the changes from unstable b1 and b2 versions listed
below.
Dependencies:
* Pango 1.44.0+ is now needed.
* pydyf 0.0.3+ is now needed.
* fontTools 4.0.0+ is now needed.
* html5lib 1.0.1+ is now needed.
API changes:
* ``FontConfiguration`` is now in the ``weasyprint.text.fonts`` module.
* ``--format`` and ``--resolution`` options have been deprecated, PDF is the
only output format supported.
* ``--optimize-images`` option has been deprecated and replaced by
``--optimize-size``, allowing ``images``, ``fonts``, ``all`` and ``none``
values.
* ``weasyprint.tools`` have been removed.
Performance:
* Improve image management
New features:
* Support basic "clipPath" in SVG
Bug fixes:
* Render use path in SVG
* Fix fill color on use path in SVG
* Handle stroke-opacity and fill-opacity
* Fix crash with borders whose widths are in em
* Fix crash on draw_pattern
* Handle stacking contexts put in contexts by previous generations
* Catch font subsetting errors
* Fix how x and y attributes are handled in SVG
* Don’t crash when use tags reference non-existing element
* Handle font collections
* Handle x and y attributes in use tags
Documentation:
* Add documentation for installation
## [3.3.1] - 10.11.2021
### Fixed
- Fix completion for symbols in commands with incomplete braces
- Do not produce syntax errors for macro parameters inside special command arguments
- Fix a bug that sometimes causes the `aux` file to pick up the diagnostics of the `tex` file
- Fix a bug that sometimes prevents `log` files from being reanalyzed