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

2593 Commits

Author SHA1 Message Date
Guillaume Ayoub
092b03bac6 Don't translate rtl columns twice
Fix #574.
2018-02-20 02:11:45 +01:00
Guillaume Ayoub
5341031162 Merge branch 'master' into flexbox 2018-02-19 14:32:19 +01:00
Guillaume Ayoub
105ed1e584 Use the same copyright message in headers
Sorry Lucien ;)
2018-02-19 14:28:53 +01:00
Guillaume Ayoub
eaa27ac07d Split replaced_min_content_width and replaced_max_content_width
Fix #576.
2018-02-16 00:54:34 +01:00
Guillaume Ayoub
897d440396 Respect text direction for multicolumn layout
Related to #574.
2018-02-13 17:32:16 +01:00
Guillaume Ayoub
6f435de00b Get only first line's width of inline children to get linebox width
Fix #569
2018-02-12 22:56:03 +01:00
Guillaume Ayoub
79e2b426a4 Fix another crash due to the new line breaking algorithm
Related to #560.
2018-02-04 15:40:32 +01:00
Guillaume Ayoub
7757bc8406 Regression test for #560 2018-02-04 09:54:54 +01:00
Guillaume Ayoub
28d2e886fc Use the current child skip stack when breaking lines with children
Fix #560.
2018-02-04 00:54:49 +01:00
Guillaume Ayoub
503dd85198 Use real sets instead of parsed strings for properties 2018-02-03 23:52:16 +01:00
Guillaume Ayoub
96e13204b4 I'd do anything to please the linters 2018-02-01 22:17:40 +01:00
lucien
8938935120 flex pagination split child 2018-01-31 18:51:55 +01:00
Guillaume Ayoub
ee6b506002 Remove useless empty line 2018-01-29 23:30:57 +01:00
Guillaume Ayoub
7e0efc0ef8 Update needed versions of some libraries
Fix #542.
2018-01-29 22:54:35 +01:00
Guillaume Ayoub
7e03734ba4 Remove useless comment 2018-01-29 22:22:54 +01:00
Guillaume Ayoub
9e59376914 Handle @page rule grammar correctly
Fix #562.
2018-01-28 22:17:26 +01:00
Guillaume Ayoub
6f4aefae51 Fix typo in docstring 2018-01-28 19:33:24 +01:00
Guillaume Ayoub
ce84073f1a Use Latin-1-decoded strings instead of bytestrings in pdfrw streams
Fix #558.
2018-01-28 16:21:48 +01:00
Guillaume Ayoub
cdd175cd58 Keep a reference to font_config in Document
Fix #566.
2018-01-28 15:45:39 +01:00
Guillaume Ayoub
922d8ebe23 Update setuptools on Travis 2018-01-28 15:15:37 +01: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
320be1aec0 Install extra text packages in doc hacking page
Fix #552.
2018-01-27 22:35:07 +01:00
Guillaume Ayoub
2ef988ca20 Fix string-set logic 2018-01-23 01:55:16 +01:00
Guillaume Ayoub
6caec1ab4f Use content(first-letter) as defined for ::first-letter 2018-01-23 00:52:49 +01:00
Guillaume Ayoub
838933f428 Handle content(first-letter) 2018-01-23 00:45:28 +01:00
Guillaume Ayoub
4ceb8c9562 Fix named pages when broken between two top-level children
Fix #507.
2018-01-23 00:12:16 +01:00
Guillaume Ayoub
13bba98d91 Fix text justification for indented text
Related to #507.
2018-01-21 16:08:29 +01:00
Guillaume Ayoub
4707f6c453 Fix typo in dependencies for Ubuntu/Debian
Fix #563.
2018-01-21 15:06:30 +01:00
Guillaume Ayoub
70af4e219e Allow flex boxes in block_container_layout 2018-01-21 14:51:17 +01:00
Guillaume Ayoub
e498cbcbd4 Handle flex-direction 2018-01-21 12:49:00 +01:00
Guillaume Ayoub
fef83a2513 Take care of margins, borders and padding for flex items 2018-01-18 16:24:58 +01:00
Guillaume Ayoub
ea9ffc9a3f Lint 2018-01-14 02:09:25 +01:00
Guillaume Ayoub
9d678ce942 Use unicode string for version in setup.py 2018-01-14 02:04:17 +01:00
Guillaume Ayoub
c6e54d77f0 Remove pylint comments 2018-01-14 01:52:49 +01:00
Guillaume Ayoub
16e8186568 Drop Python 2 support 2018-01-14 01:48:17 +01:00
Guillaume Ayoub
ad11edfff2 Remove StyleDict objects 2018-01-13 17:41:08 +01:00
Guillaume Ayoub
724565f27a Don't allow attribute access to StyleDict objects 2018-01-13 17:05:23 +01:00
Guillaume Ayoub
359d42c641 Remove style's anonymous attribute 2018-01-13 16:34:14 +01:00
Guillaume Ayoub
56ec5f96d5 Handle align-content: stretch 2018-01-12 00:16:38 +01:00
Guillaume Ayoub
91685e1422 Handle align-content 2018-01-12 00:12:06 +01:00
Guillaume Ayoub
0821148124 Handle align-items and align-self 2018-01-11 23:40:14 +01:00
Guillaume Ayoub
b71d53bc0e Don't add free space twice when there are auto margins 2018-01-11 22:35:49 +01:00
Guillaume Ayoub
d040b798a0 Handle justify-content 2018-01-11 01:01:14 +01:00
Guillaume Ayoub
ce342cf0a2 Don't strip non-breaking spaces during flex layout 2018-01-11 00:45:42 +01:00
Guillaume Ayoub
31520990ac Don't compare Nones and ints 2018-01-09 23:42:56 +01:00
Guillaume Ayoub
995a9a324d Always set resume_at to None when reaching end of text
Fix #557.
2018-01-09 18:12:32 +01:00
Guillaume Ayoub
bfe5f0b454 Don't crash on floating flex container boxes 2018-01-09 14:05:37 +01:00
Guillaume Ayoub
21c952580b Draw background and borders of flex container boxes 2018-01-09 14:02:57 +01:00
Guillaume Ayoub
0f557c14af Fix flex expander validation 2018-01-09 13:58:13 +01:00
Guillaume Ayoub
9c2b0a1a3c Fix flex order with multiple lines 2018-01-09 13:32:45 +01:00