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

328 Commits

Author SHA1 Message Date
Guillaume Ayoub
bf2b21b6e0 First steps to replace cairo with pydyf 2020-04-18 00:19:35 +02:00
Guillaume Ayoub
87b24f2859
Merge pull request #1061 from mPyth/patch-1
Update instructions for install on Windows
2020-04-02 10:12:20 +02:00
Nikolaus Schlemm
6150e4c559
updated link for css at-rules 2020-02-21 00:00:33 +01:00
Guillaume Ayoub
9f6edeed1b Fix Fedora’s packaage link 2020-02-16 17:06:02 +01:00
Guillaume Ayoub
11a85ab6f3 Remove warning about WOFF2 fonts.
WOFF2 fonts are supported in FreeType 2.10.1+.
2020-02-16 12:01:27 +01:00
mPyth
653bfba730
Update instructions for install on Windows
In a try to run command "python -m weasyprint http://weasyprint.org weasyprint.pdf" I have encountered on problem "Entry Point Not Found" with following text: "The procedure entry point inflateValidate could not be located in the dynamic link library C:\Program Files\GTK3-Runtime Win64\bin\libpng16-16.dll".
After 90-120 mins I found the problem - there were two "zlib1.dll" files - the second came from PostgreSQL (v10) and because it was first in the PATH it was called instead of GTK's version.
With this small change someone else could save the time and potential new tickets are prevented.
2020-02-14 11:43:05 +01:00
Guillaume Ayoub
3835fff7d3 Small documentation fixes 2020-02-10 23:50:33 +01:00
Guillaume Ayoub
941bf4070f
Merge pull request #1024 from endalk200/patch-1
Improved installation doc.
2020-02-10 23:46:24 +01:00
Guillaume Ayoub
25a0ebdd36 Merge branch 'master' into clean 2020-01-29 23:21:00 +01:00
Nicolas Hart
854c37f8bb add link to w3c flexbox specs 2020-01-15 17:06:43 +01:00
Endalkachew
693a2893fd
Improved installation doc.
I  have changed some terms that makes the description in the documentation vague. and fix some typo errors to make the documentation
easy to understand for all language backgrounds.
2020-01-10 23:13:42 -08: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
0f782151d5 Small fix in doc about document generation steps 2020-01-01 21:56:46 +01:00
Guillaume Ayoub
7aee426cf0
Merge pull request #1017 from Kozea/counter-style
Implement @counter-style
2019-12-31 11:26:16 +01:00
Guillaume Ayoub
2dff884ef1 Minor fixes for documentation theme 2019-12-28 14:55:34 +01:00
Guillaume Ayoub
29e026d289 Update documentation style 2019-12-28 14:38:10 +01:00
Guillaume Ayoub
bb4b2d45e6 Update documentation for counters 2019-12-27 15:26:15 +01:00
Guillaume Ayoub
c0993d5308 Document the missing support of "start" for "element()" 2019-12-23 17:07:05 +01:00
Felix Schwarz
409a07a7fb require Pyphen >= 0.9.1
With older versions tests I get 19 test failures in test_text.py. I am not
sure if this is peculiarity of the test suite but 0.9.1 was released
almost 6 years ago (December 2013) so requiring it should be fine.
2019-11-07 23:09:02 +01:00
Guillaume Ayoub
b11a20b073 Add running elements in documentation 2019-09-27 11:14:48 +02:00
Guillaume Ayoub
fd70058c93
Merge pull request #882 from hbrunn/master-running
[ADD] position: running(); content: element();
2019-09-27 11:01:16 +02:00
Guillaume Ayoub
495f7621d0 Update required version of Debian / Ubuntu in documentation
Related to #951.
2019-09-26 16:15:20 +02:00
Holger Brunn
645b946c06
fixup! [ADD] position: running(); content: element(); 2019-09-23 10:57:13 +02:00
Guillaume Ayoub
08bd51abaf Add CSS sample for forms
Related to #328.
2019-09-05 14:46:48 +02:00
Tontyna
3a0d375ede typo in features.rst 2019-08-14 22:00:28 +02:00
Tontyna
4b614761dc minor typos in install.rst 2019-08-14 21:55:06 +02:00
Guillaume Ayoub
63fe3122f7 Add documentation about semantic versioning
Fix #900.
2019-07-26 11:46:57 +02:00
Guillaume Ayoub
f000160423 Add code snippet to set PDF magnification
Fix #692.
2019-07-25 11:25:40 +02:00
Thomas Dexter
8ec68be33d Add .NET wrapper repo link to docs 2019-07-12 12:17:50 -07:00
Guillaume Ayoub
f5d4ee2824
Merge pull request #891 from Kozea/text-overflow
Support text-overflow
2019-07-08 13:27:13 +02:00
Guillaume Ayoub
a0d912e0c6 Update documentation about text-overflow 2019-07-04 14:28:57 +02:00
Guillaume Ayoub
a2ec8567a1 Merge branch 'master' into column-span 2019-06-28 15:04:28 +02:00
Guillaume Ayoub
3befe98213
Merge pull request #854 from nathandem/feat/ndm/show-header-footer-integration
Show how to include any header/footer on a PDF
2019-06-22 21:52:45 +02:00
grewn0uille
497a0b54dd Add partial support for column-span property.
Related to #719.
2019-06-04 18:03:32 +02:00
theopeek
e144711595
Update install.rst
Improvements to macOS install guide
Fix for issue `#849 <https://github.com/Kozea/WeasyPrint/issues/849>`
2019-06-03 21:57:15 +02:00
Guillaume Ayoub
6cb24dbdff Update documentation about object-position and object-fit 2019-06-02 18:34:01 +02:00
Guillaume Ayoub
2ce03092f1 Small code and style improvements around bookmark-state
Related to #870.
2019-05-23 23:55:56 +02:00
Guillaume Ayoub
e881b66859
Merge pull request #870 from randomstuff/bookmark-state
Implement bookmark-state support
2019-05-23 23:15:37 +02:00
Guillaume Ayoub
426cb7e37d Force CairoSVG 2.4.0+
2.2.0 is actually needed, but tests are fixed with 2.4.0.
2019-05-20 13:47:14 +02:00
Guillaume Ayoub
37e788e8c3 Force SVG size
Related to #867.
2019-05-20 12:31:30 +02:00
Gabriel Corona
34127350b6 Implement bookmark-state support 2019-05-19 19:31:32 +02:00
Guillaume Ayoub
5ddbea6e14 Add documentation about flexbox 2019-05-14 23:50:53 +02:00
Guillaume Ayoub
b88cf3654b Add documentation for text decoration 2019-05-14 23:45:53 +02:00
Nathan
d05fba86ec Show how to include any header/footer on a PDF
By doing so, create a new section in the doc called
"Tips and tricks".

Relates #92
2019-04-20 22:57:35 +02:00
Guillaume Ayoub
9b05297116 Add supported cascading variables in documentation 2019-04-12 16:22:31 +02:00
Guillaume Ayoub
5ceddcb2ca
Merge pull request #843 from Kozea/variables
Add CSS variables
2019-04-10 13:46:28 +02:00
Guillaume Ayoub
961a39c4e7 Update documentation about generated content 2019-04-02 18:24:50 +02:00
Guillaume Ayoub
1a65600178 Minor fixes in documentation 2019-04-02 18:24:41 +02:00
Guillaume Ayoub
13fb5aba84 Merge branch 'master' into variables 2019-03-21 11:28:58 +01:00
Guillaume Ayoub
2fc8f39b4d Update documentation about box-decoration-break and margin-break
Fix #771.
2019-03-19 17:48:29 +01:00
Tontyna
2e667850c3 Docs: Fix typos in Hacking page 2019-03-14 09:37:10 +01:00
Guillaume Ayoub
c447add874 First simple version supporting CSS variables
Related to #546.
2019-03-06 13:51:30 +01:00
Guillaume Ayoub
014f83f887 Use pathlib for doc's conf 2019-03-04 15:46:16 +01:00
Guillaume Ayoub
b7a9fe7dcc Update copyright 2019-03-04 11:04:06 +01:00
Guillaume Ayoub
3ba1dcd836 More small fixes in documentation 2019-02-28 15:59:11 +01:00
Guillaume Ayoub
8d0f53ec1e Small fixes in documentation 2019-02-28 15:58:30 +01:00
Sébastien Corbin
97476aaf73
Fix #814 Documentation about custom url_fetcher 2019-02-27 17:17:20 +01:00
Guillaume Ayoub
e5f7ec9756 Add a chapter about CSS fragmentation module 2019-02-27 10:38:21 +01:00
Guillaume Ayoub
bdd45475b6 Clean a lot of things in API documentation 2019-02-22 11:34:46 +01:00
Guillaume Ayoub
256ad86b12 Fix the install page of the documentation 2019-02-21 17:41:29 +01:00
Guillaume Ayoub
7e5860f4ca Merge branch 'master' of github.com:Kozea/WeasyPrint 2019-02-17 10:22:16 +01:00
Guillaume Ayoub
480291a0ac Add setuptools>=39.2 as dependency 2019-02-17 10:20:05 +01:00
Noam Ben-zichri
a95f2cfe6b
fix small typo in docs 2019-02-09 16:50:01 +02:00
Smylers
aff1671ed2
Document no alignment character support
Make it clear that text-align: '.' and similar (in table cells) isn't supported.
2019-02-08 10:54:40 +00:00
Guillaume Ayoub
94b5f08b47 Drop Python 3.4 support
Python 3.4's end of life is 2019-03-16 and Debian stable provides 3.5.3.
2019-02-06 18:42:15 +01:00
Guillaume Ayoub
adb2e3704d
Merge pull request #784 from cinatic/patch-1
note on alpine installation and ctypes.util
2019-02-06 11:52:01 +01:00
Scott Kitterman
91f4c43390
Mention setuptools needed for license_file 2019-02-05 13:37:42 -05:00
Florijan Hamzic
88b6ecd16f
note on alpine installation and ctypes.util 2019-02-01 19:15:34 +01:00
NeroBurner
4eb9eb5a7d
better phrasing in hacking 2019-01-22 08:22:41 +01:00
Guillaume Ayoub
afc773a440 Merge branch 'master' of github.com:Kozea/WeasyPrint 2019-01-17 00:06:50 +01:00
Guillaume Ayoub
13971f64af Add a paragraph in documentation about fontconfig error
Fix #402.
2019-01-17 00:05:37 +01:00
Antoine Précigout
e5dec9f46b
Change Alpine install command
Use gdk-pixbuf-dev instead of gdk-pixbuf
2019-01-07 18:56:59 +01:00
Guillaume Ayoub
8f15640d73 Add a note about required setuptools version to build the package
Related to #762.
2019-01-05 18:59:37 +01:00
Guillaume Ayoub
74f56f7102 Add a --debug option and set debug level for prefixed CSS properties 2019-01-04 01:22:49 +01:00
Guillaume Ayoub
3513e95b41 Use a separate logger for generation progress 2019-01-03 23:02:44 +01:00
Guillaume Ayoub
215529ffb9 Small typos in documentation 2018-12-27 23:13:10 +01:00
Guillaume Ayoub
63cc25b309
Merge pull request #733 from TimotheeGerber/documentation_typo
Small documentation fixes
2018-11-12 10:37:06 +01:00
Guillaume Ayoub
e14270efd6 Fix typo in documentation 2018-11-10 11:01:04 +01:00
TimotheeGerber
9af0f12896
Fix missing capitalization 2018-11-10 10:39:21 +01:00
TimotheeGerber
3e90934bb4
Add missing import in documentation example 2018-11-10 10:37:48 +01:00
Guillaume Ayoub
3326310094 Fix broken links in various files 2018-10-21 16:21:16 +02:00
Guillaume Ayoub
c5babb2de3 Add install instructions for Alpine Linux
Fixes #699.
2018-10-11 11:21:17 +02:00
Guillaume Ayoub
ac34f547e5 Clean the hacking page of the documentation 2018-10-11 11:21:02 +02:00
Guillaume Ayoub
198cca0f2d Clean packaging 2018-10-11 11:08:37 +02:00
Guillaume Ayoub
aa238a273a
Merge pull request #682 from rightbrace/master
Added section to tutorial on adjusting `@page` attributes
2018-09-17 18:05:41 +02:00
Tontyna
066d3375ce Fix typos in docs/hacking 2018-09-03 17:19:10 +02:00
Josef Duchesne
e8eeb09361 Built docs for tutorial changes 2018-09-02 20:57:32 -04:00
Josef Duchesne
5bdf263c62 Added section on setting up page geometry 2018-09-02 20:50:08 -04:00
Tontyna
fffc07784d Update features 2018-08-25 16:02:51 +02:00
Tontyna
1ca9ebe587 Fix typo 2018-08-25 15:57:43 +02:00
Guillaume Ayoub
c1994acf2d Use console instead of bat for Windows code blocks 2018-08-23 21:57:52 +02:00
Guillaume Ayoub
52bb7477ac Typos and style fixes for Windows documentation 2018-08-23 19:14:38 +02:00
Guillaume Ayoub
e71ffe74d9
Merge pull request #674 from Tontyna/contrib_to_doc
Extensive installation instructions for Windows
2018-08-23 18:46:52 +02:00
Guillaume Ayoub
516285f355 Remove unused import 2018-08-23 18:26:51 +02:00
Guillaume Ayoub
0fe79762fa Use setup.cfg instead of setup.py for package metadata 2018-08-23 18:20:36 +02:00
Tontyna
ce02413a75 Extensive installation instructions for Windows 2018-08-22 00:06:28 +02:00
Guillaume Ayoub
0834615b78 Don't use pdfrw anymore
pdfrw is a great piece of software, but we don't know PDF enough to debug the
problems we've met. It's safer to use the new cairo API and get back to manual
edition for attachments and bleed boxes.

We only have two regressions for now:
- some internal links are broken,
- PDF producer is not overwritten.

A mail has been sent to cairo's mailing-list about that:
https://lists.cairographics.org/archives/cairo/2018-August/028694.html

Fix #639, #615, fix #596, fix #565.
2018-08-06 17:38:02 +02:00
Tontyna
2ea0c6c9ab Fix refs 2018-08-01 20:28:47 +02:00
Guillaume Ayoub
d07ac58b4a Fix rendering steps in the documentation 2018-07-30 17:19:12 +02:00
Guillaume Ayoub
3de1ec4a8d Remove useless backslashes from documentation 2018-07-30 16:58:19 +02:00