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

3536 Commits

Author SHA1 Message Date
Guillaume Ayoub
1129f82cea Don’t import pango twice 2020-05-07 22:37:11 +02:00
Lucie Anglade
e64e98a56a Move getting font informations from text to document 2020-05-07 19:33:54 +02:00
Lucie Anglade
aab07099a9 Start retrieving font descriptor info 2020-05-06 20:10:18 +02:00
Guillaume Ayoub
5ed840fc7d Include font streams 2020-05-06 07:42:45 +02:00
Guillaume Ayoub
67b104d8ab Get fonts data 2020-04-26 00:48:38 +02:00
Guillaume Ayoub
bbc1355df6 Force FontConfig use 2020-04-26 00:48:32 +02:00
Guillaume Ayoub
7de2e45f55 Fix crash when there’s no outline 2020-04-21 23:07:35 +02:00
Guillaume Ayoub
44c21b7f31 Go through PDF pages only once during generation 2020-04-21 22:47:55 +02:00
Guillaume Ayoub
d02bc1bde1 Add inline attachments 2020-04-21 22:30:38 +02:00
Guillaume Ayoub
3bee463e83 Remove resolve_links from Document class 2020-04-19 18:26:49 +02:00
Guillaume Ayoub
9752142959 Merge document and pdf modules 2020-04-19 16:49:37 +02:00
Guillaume Ayoub
cbf010952d Fix transformation matrix with bleed box 2020-04-19 14:40:30 +02:00
Guillaume Ayoub
f353a16cf5 Call finisher 2020-04-19 10:01:27 +02:00
Guillaume Ayoub
c94423a700 Handle bleed box 2020-04-19 09:55:39 +02:00
Guillaume Ayoub
a06322d432 Remove some references to Cairo 2020-04-19 08:09:22 +02:00
Guillaume Ayoub
5cd62f4d31 Fix border style 2020-04-19 07:52:32 +02:00
Guillaume Ayoub
98570cc095 Handle hyperlinks and anchors 2020-04-19 00:47:19 +02:00
Guillaume Ayoub
b3baac3694 Handle bookmark state 2020-04-18 22:41:23 +02:00
Guillaume Ayoub
ece3025fd6 Handle transforms and bookmarks 2020-04-18 22:12:25 +02:00
Guillaume Ayoub
bf2b21b6e0 First steps to replace cairo with pydyf 2020-04-18 00:19:35 +02:00
Guillaume Ayoub
29309aa673 Don’t display template tags
Fix #1080.
2020-04-13 11:44:37 +02:00
Guillaume Ayoub
fda14c0ff4 Fix typo 2020-04-10 14:07:12 +02:00
Guillaume Ayoub
b1b5e3ee98 Simplify renderer’s argparse code
Related to #1099.
2020-04-10 13:50:33 +02:00
Guillaume Ayoub
d7b26e3b6f
Merge pull request #1099 from eyseman/feature-WeasyPrint-v51
added function for port specification
2020-04-10 13:42:20 +02:00
Thomas J. Lampoltshammer
61b4865bec
added function for port specification
Added a new function which allows the user to select a specific port. If no port is specified, port 5000 is used as default port.
2020-04-10 10:53:52 +02:00
Guillaume Ayoub
ee316cdb78
Merge pull request #1096 from hejsan/signature-support
Digital signature support
2020-04-09 09:49:10 +02:00
Bjarni Þórisson
74d5c4faf1 remove trailing whitespace 2020-04-09 00:51:15 +00:00
Bjarni Þórisson
fb867f9b4e Support for post-processing by passing a finisher function to write_pdf 2020-04-08 23:46:11 +00:00
Guillaume Ayoub
ba1abecc31 Fix column background position for rtl tables
Related to #1097.
2020-04-08 15:31:24 +02:00
Guillaume Ayoub
c22fcb1b36 Add failing test 2020-04-08 14:28:57 +02:00
Guillaume Ayoub
15e0314405 Fix names and comments for table tests 2020-04-08 13:40:23 +02:00
Guillaume Ayoub
dca03a92af
Merge pull request #1097 from mohdnajdy/rtl_tables
cover more rtl tests
2020-04-07 16:15:58 +02:00
Mohammed Y. Alnajdi
0d55bd9307 cover more rtl tests 2020-04-07 12:36:29 +03:00
Guillaume Ayoub
2e7031fe71 Merge branch 'master' into rtl_tables 2020-04-06 18:13:12 +02:00
Bjarni Þórisson
9575595b55 Added hooks to support Digital Signatures and allowed for writing multiple trailers.
Upped version number
2020-04-06 15:15:25 +00:00
Guillaume Ayoub
f50feef83f Fix positions of rtl rows, row groups and colspan cells 2020-04-06 14:11:06 +02:00
Guillaume Ayoub
079f21251d Revert "Try not to use DejaVu fonts for Windows tests"
This reverts commit 9ae77aff62.
2020-04-05 23:10:14 +02:00
Guillaume Ayoub
9ae77aff62 Try not to use DejaVu fonts for Windows tests 2020-04-05 23:00:41 +02:00
Guillaume Ayoub
6ad3bae86a Fix some flex tests 2020-04-05 22:56:40 +02:00
Guillaume Ayoub
bac3d8c064 Remove workaround for tests on macOS
The bug related to fonts separated by commas is now fixed in Pango for macOS.
2020-04-05 14:47:40 +02:00
Guillaume Ayoub
b33a8d11d4 Fix the footer repetition on split tables
Fix #1027.

Footers of split tables have a wrong position: they keep their position before
splitting the table. This commit is an improvement (it doesn’t crash anymore,
data are OK on each page) but it’s far from perfect.

We also have to take care of absolute and fixed elements in footers. It’s
probably already broken (see related #138), so…

TODOs have been added where things have to be improved.
2020-04-03 21:44:27 +02:00
Guillaume Ayoub
21b534ea0b Fix complex table break test 2020-04-03 19:24:07 +02:00
Guillaume Ayoub
cbf31172cd Merge branch 'master' of github.com:Kozea/WeasyPrint 2020-04-02 16:50:55 +02:00
Guillaume Ayoub
da146c639a Don’t try to break tables after the header or before the footer
Related to #1027.
2020-04-02 16:49:48 +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
Guillaume Ayoub
880e9e2eaa
Merge pull request #1089 from bartbroere/patch-1
Try fixing a bug encountered when using weasyprint in Pyinstaller context
2020-03-27 15:48:32 +01: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
Guillaume Ayoub
5f780ea83b Merge branch 'master' of github.com:Kozea/WeasyPrint 2020-03-22 11:10:06 +01:00
Guillaume Ayoub
9db50fe234 Fix warnings in Travis file 2020-03-22 11:09:09 +01:00