1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 00:21:15 +03:00
Commit Graph

211 Commits

Author SHA1 Message Date
Guillaume Ayoub
b24198df47 Version 53.0b2 2021-05-30 19:29:00 +02:00
Guillaume Ayoub
becd494f91 Add an option to optimize fonts
Fix #359.
2021-04-28 14:55:52 +02:00
Guillaume Ayoub
c76e1a3ba6 Use pkgutil instead of manual ROOT to load data
It avoids useless code and should work with all the packagers.
2021-04-27 22:11:27 +02:00
Guillaume Ayoub
e983d88284 Version 53.0b1 2021-04-22 12:56:13 +02:00
Guillaume Ayoub
496ca5b14d Update packaging information 2021-04-17 17:37:19 +02:00
Guillaume Ayoub
0eeb52160e Follow PEP 621
The future is now.
2021-04-02 16:24:01 +02:00
Guillaume Ayoub
a5f5fe6fb8 Remove documentation strings about PNG export. 2021-04-02 16:23:28 +02:00
Guillaume Ayoub
212ccbab19 Update changelog and version 2021-03-13 13:55:09 +01:00
Guillaume Ayoub
03183fb312 Add a lot of documentation 2021-02-18 21:03:40 +01:00
Guillaume Ayoub
224f7b3e8f Fix version 2021-02-18 11:39:44 +01:00
Guillaume Ayoub
2c919858c8 Split the "text" module into submodules
The module was too long, and the font management was split into two different
modules. We now have everything in the "text" module.
2021-02-08 00:53:27 +01:00
Guillaume Ayoub
431c11e7a0 Put write_png in testing suite for license considerations 2020-10-26 17:26:01 +01:00
Guillaume Ayoub
9d29716b91 Merge remote-tracking branch 'origin/master' into pydyf 2020-07-31 14:46:36 +02:00
Guillaume Ayoub
3d4cb04904 Add an image cache that can be shared between documents
Fix #969.
2020-06-22 16:32:12 +02:00
Guillaume Ayoub
c56b96b3c1 Add an option to optimize embedded images size 2020-06-22 16:05:14 +02:00
Guillaume Ayoub
259d686aec Clean __init__ and __main__ 2020-05-30 01:27:13 +02:00
Guillaume Ayoub
11901bb9ea Clean document.py 2020-05-30 01:11:30 +02:00
Guillaume Ayoub
e019278d9f Don’t make write_png return size 2020-05-18 01:36:48 +02:00
Guillaume Ayoub
c422c1b77e Disable antialiasing by default 2020-05-18 01:29:37 +02:00
Guillaume Ayoub
e711363490 Add an option to enable antialiasing for PNG generation 2020-05-17 15:06:17 +02:00
Guillaume Ayoub
5b4bbb22e7 Fix many tests 2020-05-13 01:02:43 +02:00
Guillaume Ayoub
bf2b21b6e0 First steps to replace cairo with pydyf 2020-04-18 00:19:35 +02:00
Bart Broere
9e90c91535
Try fixing a bug encountered when using weasyprint in Pyinstaller context 2020-03-25 18:43:05 +01:00
Guillaume Ayoub
ab47de3a27 Remove useless assert
Related to #1083.
2020-03-22 11:18:27 +01:00
Felix Schwarz
dd48b5004c HTML: prevent FutureWarning from xml.etree.ElementTree.Element
__bool__()/__nonzero__() is deprecated and raises a FutureWarning. This warning
is usually not visible with CPython. However it is highly irritating with
pypy3 (v7.1.1).
2020-03-22 08:31:25 +01:00
Guillaume Ayoub
620b17a9b3 Coverage 2020-01-09 23:33:07 +01:00
Guillaume Ayoub
b40ad461be Remove repeated copyright assignments in files
Everything is replaced by a more explicit message in the COPYRIGHT file.

Inspired by rust-lang/rust#43498 and rust-lang/rust#57108.
2020-01-02 14:10:09 +01:00
Guillaume Ayoub
647af0b228 Minor fixes 2020-01-02 13:27:11 +01:00
Guillaume Ayoub
47ec97bcaf Remove useless explicit object inheritance 2020-01-02 12:06:58 +01:00
Guillaume Ayoub
5f28f83f36 Fix and clean some tests 2020-01-02 00:43:06 +01:00
Guillaume Ayoub
bb4b2d45e6 Update documentation for counters 2019-12-27 15:26:15 +01:00
Guillaume Ayoub
73244891f4 Add base code for @counter-style rules 2019-12-24 14:39:40 +01:00
Guillaume Ayoub
9831a1ba40 Remove and fix some TODOs 2019-07-11 16:48:53 +02:00
Guillaume Ayoub
b7a9fe7dcc Update copyright 2019-03-04 11:04:06 +01:00
Guillaume Ayoub
0cc5478252 Fix imports for isort 2019-03-01 11:38:03 +01:00
Guillaume Ayoub
bdd45475b6 Clean a lot of things in API documentation 2019-02-22 11:34:46 +01:00
Guillaume Ayoub
03f01e37ee Update and add some docstrings 2019-02-21 17:34:56 +01:00
Guillaume Ayoub
de98470e02 Use pathlib for version 2019-02-06 18:23:41 +01:00
Guillaume Ayoub
48d4266b6d Fix API documentation of HTML and CSS classes 2019-01-23 00:12:01 +01:00
Guillaume Ayoub
3513e95b41 Use a separate logger for generation progress 2019-01-03 23:02:44 +01:00
Richard Eames
d27964b962
Close version file after reading using context manager
fix #746
2018-12-04 15:16:28 -07:00
Guillaume Ayoub
56904baa79 Use the same copyright line everywhere 2018-09-20 18:46:27 +02:00
Guillaume Ayoub
0fe79762fa Use setup.cfg instead of setup.py for package metadata 2018-08-23 18:20:36 +02:00
Guillaume Ayoub
1dbe26af01 Allow pathlib.Path objects for HTML, CSS and Attachment instances
Fix #622.
2018-08-21 16:17:00 +02:00
Guillaume Ayoub
dc8ce2fa74 Raise an error when using Python 2
Also remove non-ascii characters from __init__.py to actually get the error
when importing the module.

Fix #564.
2018-01-28 00:02:13 +01:00
Guillaume Ayoub
16e8186568 Drop Python 2 support 2018-01-14 01:48:17 +01:00
Guillaume Ayoub
5bb4815844 Version 0.42 2017-12-26 15:44:49 +01:00
Guillaume Ayoub
3fb6747f61 Explicitely test that page_rules is None to create a new empty list
Fix #520.
2017-10-06 16:20:23 +02:00
Guillaume Ayoub
bcb198d717 Version 0.41 2017-10-05 11:43:43 +02:00
Guillaume Ayoub
0c27e94468 Add a font_config parameter to various render methods
Fix #506.
2017-10-01 15:17:32 +02:00