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

3465 Commits

Author SHA1 Message Date
Guillaume Ayoub
2b7ec23c5e
Merge pull request #1072 from gentooboontoo/drop-extraneous-font-config
Drop extraneous font matching
2020-03-14 16:19:21 +01:00
Guillaume Ayoub
a980a9b987 Merge branch 'master' of github.com:Kozea/WeasyPrint 2020-03-14 15:05:11 +01:00
Guillaume Ayoub
fe7fd1c179 Don’t crash on absolute SVG files with no intrinsic size
Fix #1050.
2020-03-14 15:00:25 +01:00
Julien Sanchez
3a91c50636
Drop extraneous font matching 2020-02-26 11:56:13 +01:00
Guillaume Ayoub
a4511d0093 Fix comments and typos 2020-02-24 10:33:09 +01:00
Guillaume Ayoub
d6ef067deb
Merge pull request #1064 from nschlemm/patch-1
updated link for css at-rules
2020-02-22 14:48:25 +01: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
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
Guillaume Ayoub
684170699b Merge branch 'master' of github.com:Kozea/WeasyPrint 2020-01-25 22:40:15 +01:00
Guillaume Ayoub
e4421653a4 Fix background size on page canvas
Fix https://print-css.rocks/lesson/lesson-background-repeated.

Related to #1026.
2020-01-25 22:40:10 +01:00
Guillaume Ayoub
5c5e5eaa47 Replace one-letter variable 2020-01-25 18:19:56 +01:00
Guillaume Ayoub
b06985913f
Merge pull request #1031 from ter-informatique/add-flexbox-link
Add link to W3C flexbox specs
2020-01-15 21:31:05 +01:00
Nicolas Hart
854c37f8bb add link to w3c flexbox specs 2020-01-15 17:06:43 +01:00
Guillaume Ayoub
f6494c9e72
Merge pull request #1030 from saddy001/patch-1
Fix when frozen with cx_freeze
2020-01-14 22:50:40 +01:00
saddy001
05ebf39061
Fix when frozen with cx_freeze
Fixes

    from weasyprint import HTML
  File "/usr/local/lib/python3.7/dist-packages/weasyprint/__init__.py", line 41, in <module>
    VERSION = __version__ = (ROOT / 'VERSION').read_text().strip()
TypeError: unsupported operand type(s) for /: 'str' and 'str'
2020-01-14 18:24:18 +01:00
Guillaume Ayoub
529bb439c6 Merge branch 'master' into clean 2020-01-13 23:53:05 +01:00
Guillaume Ayoub
d2278aee69 Don’t insert the same layout attributes multiple times
Using pango_attr_list_change is slower, but it prevents spacing attributes to
be set twice, breaking the line-splitting algorithm for some reason.

I don’t know if it is possible to add a simple test for that.

Fix #1025.
2020-01-13 23:48:51 +01:00
Guillaume Ayoub
449e15a9b6 Remove breakpoint 2020-01-13 21:50:13 +01:00
Guillaume Ayoub
e8f5d774c7 Improve urls.py coverage 2020-01-13 21:26:56 +01:00
Guillaume Ayoub
10a7863332 Fully test __main__
Related to #1023.
2020-01-11 18:33:59 +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
620b17a9b3 Coverage 2020-01-09 23:33:07 +01:00
Guillaume Ayoub
ceea084f42 Remove print 2020-01-09 22:53:55 +01:00
Guillaume Ayoub
9015eb8e96 Don’t cover failing tests 2020-01-08 23:40:34 +01:00
Guillaume Ayoub
bc58e25eb7 Test z-index 2020-01-07 23:55:39 +01:00
Guillaume Ayoub
35884dc6de Improve coverage for tools 2020-01-07 23:00:39 +01:00
Guillaume Ayoub
34ad3b5050 Merge branch 'master' into clean 2020-01-07 22:36:38 +01:00
Guillaume Ayoub
cb610e88f0 Support counter-set
Code was sleeping commented since December 2011 and could have been working in
WeasyPrint 0.3. Easiest feature ever thanks to @SimonSapin.

Fix #1019.
2020-01-06 22:45:37 +01:00
Guillaume Ayoub
822fb6808d Ignore some lines for coverage 2020-01-06 17:06:26 +01:00
Guillaume Ayoub
22e07ba931 Add box-sizing tests 2020-01-06 17:06:04 +01:00
Guillaume Ayoub
ae21c822bf 100% test coverage for expanders validation 2020-01-02 23:25:33 +01:00
Guillaume Ayoub
787deaf873 Test border-radius validation 2020-01-02 19:20:48 +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
56ab08a455 Remove useless import 2020-01-02 00:03:43 +01:00
Guillaume Ayoub
6e3b35af2a Remove useless parse_email function 2020-01-01 23:56:56 +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
79f2935917 Add more tests and warning messages 2019-12-30 23:37:58 +01:00
Guillaume Ayoub
eff6bf51b0 Fix tests 2019-12-30 22:46:13 +01:00
Guillaume Ayoub
a0526ceb1c Minor fixes about counters 2019-12-30 22:33:29 +01:00
Guillaume Ayoub
6bc6c21fd9 Ingore wrong values for negative descriptor 2019-12-30 21:41:29 +01:00
Guillaume Ayoub
aed8b09543 Fix extended counters 2019-12-30 18:04:23 +01:00
Guillaume Ayoub
e3c03ab70b Fix unknown counter 2019-12-30 13:05:03 +01:00