1
0
Fork 0

Adding upstream version 0.2.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-08 07:40:15 +01:00
parent d372080b5f
commit fb81c4a897
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
13 changed files with 159 additions and 116 deletions

View file

@ -2,6 +2,49 @@ Changelog
=========
Version 0.2.0
-------------
Released on 2022-05-23.
Dependencies:
* Python 3.7+ is now needed, Python 3.6 is not supported anymore
New features:
* `d0be36b <https://github.com/CourtBouillon/pydyf/commit/d0be36b>`_:
Allow to set PDF version
* `879261c <https://github.com/CourtBouillon/pydyf/commit/879261c>`_:
Allow to set PDF identifier
Contributors:
* Guillaume Ayoub
Backers and sponsors:
* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* Spacinov
* KontextWork
* René Fritz
* Kobalt
* NCC Group
* Des images et des mots
* Nathalie Gutton
* Andreas Zettl
* Tom Pohl
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki
Version 0.1.2
-------------

View file

@ -1,13 +1,7 @@
# pydyf documentation build configuration file.
import sys
from pathlib import Path
import pydyf
# Add current path for css_diagram_role
sys.path.append(str(Path(__file__).parent))
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [

View file

@ -5,12 +5,11 @@ Going Further
Why pydyf?
-------------
pydyf has been created to replace Cairo PDF generation in WeasyPrint_.
pydyf has been created to replace Cairo_ PDF generation in WeasyPrint_.
Indeed, there are some bugs in WeasyPrint caused by Cairo_ and Cairo has some
difficulties to make releases.
Also there are features which will be easier to implement while having more
control on the PDF generation.
Indeed, there were some bugs in WeasyPrint caused by Cairo, and new versions of
Cairo can take a long time to be released. There are also many features that
are easier to implement with more control on the PDF generation.
So we created pydyf.
@ -20,13 +19,13 @@ So we created pydyf.
Why Python?
-----------
Python is a really good language to design a small, OS-agnostic parser. As it
is object-oriented, it gives the possibility to follow the specification with
high-level classes and a small amount of very simple code.
Python is a really good language to design a small, OS-agnostic library. As it
is object-oriented, it gives the possibility to follow the PDF specification
with high-level classes and a small amount of very simple code.
And of course, WeasyPrint is written in Python too, giving an obvious reason
for this choice.
Speed is not pydyfs main goal. Code simplicity, maintainability and
flexibility are more important goals for this library, as they give the
ability to stay really close to the specification and to fix bugs easily.
Speed is not pydyfs main goal. Code simplicity, maintainability and
flexibility are more important goals for this library, as they give the ability
to stay really close to the specification and to fix bugs easily.