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

2186 Commits

Author SHA1 Message Date
Guillaume Ayoub
308aaab526 Merge branch 'master' into font-face 2016-10-27 17:43:49 +02:00
Guillaume Ayoub
152193cf77 Add the font configuration in LayoutContext
The font configuration is available (almost) everywhere it's needed,
@font-face doesn't rely on a global state anymore.
2016-10-27 17:36:24 +02:00
Guillaume Ayoub
d7b89dbb68 Clean the font config after rendering the document 2016-10-27 11:41:34 +02:00
Guillaume Ayoub
3b95c54a3b Fix import in tests 2016-10-26 19:14:07 +02:00
Guillaume Ayoub
f215a67ba4 Fix the "requires" decorator 2016-10-26 19:11:21 +02:00
Guillaume Ayoub
fa736a497c Test OpenType features only with Pango 1.38+ 2016-10-26 18:45:23 +02:00
Guillaume Ayoub
db54e8e3ff Don't rely on pango_fc_font_map_set_config yet 2016-10-26 18:29:40 +02:00
Guillaume Ayoub
489163e927 Clean FFI declarations and fix some memory leaks 2016-10-26 18:15:32 +02:00
Guillaume Ayoub
b5103d349f Create a new font config for each document 2016-10-26 17:17:00 +02:00
Guillaume Ayoub
c9a394e2a1 Merge branch 'master' of github.com:Kozea/WeasyPrint 2016-10-25 18:13:28 +02:00
Guillaume Ayoub
e7aa1c292a Remove GTK+ link in doc and probably fix lxml's 2016-10-25 18:12:37 +02:00
Guillaume Ayoub
85c08f2c40 Merge pull request #371 from aude/fedora
Require libffi headers at Fedora
2016-10-25 12:59:25 +02:00
Asbjørn
653aca0613 Require libffi headers at Fedora 2016-10-25 12:52:29 +02:00
Guillaume Ayoub
88f961c608 Add the lxml installation in doc for Windows
Fix #370.
2016-10-21 12:47:49 +02:00
Guillaume Ayoub
efa0b0a102 Merge branch 'master' of github.com:Kozea/WeasyPrint 2016-10-07 15:58:40 +02:00
Guillaume Ayoub
f77f883dc6 Check that white-space is used for shrink-to-fit
Fix #368
2016-10-07 15:57:56 +02:00
Guillaume Ayoub
676a0a1596 Remove useless exception variable 2016-10-07 14:58:00 +02:00
Guillaume Ayoub
5c84906309 Warn when a font is corrupted 2016-10-07 14:06:25 +02:00
Guillaume Ayoub
947f2fde0d Remove unused import 2016-10-07 13:55:32 +02:00
Guillaume Ayoub
b54233c8bf Use the default url fetcher to fetch fonts 2016-10-07 13:54:12 +02:00
Guillaume Ayoub
4c0fcfe44f Support font-variant and font-feature-settings descriptors 2016-10-07 13:42:05 +02:00
Guillaume Ayoub
38a0a1a097 Allow multiple and local values in src descriptor 2016-10-01 20:38:33 +02:00
Guillaume Ayoub
ca7e62704c Merge pull request #364 from jerem/patch-1
Fixed a typo.
2016-09-28 11:14:11 +02:00
Jérémy Bethmont
bdff1ee325 Fixed a typo. 2016-09-28 10:30:54 +07:00
Guillaume Ayoub
fc5eb6c92a Use the descriptors when adding @font-face fonts 2016-09-26 20:14:27 +02:00
Guillaume Ayoub
f8f586a8c4 Cut long line 2016-09-26 12:22:52 +02:00
Guillaume Ayoub
dfbe409ae0 WIP: Support @font-face 2016-09-26 12:15:12 +02:00
Guillaume Ayoub
97acf10fb6 Don't keep CSS.stylesheet 2016-09-24 15:47:50 +02:00
Guillaume Ayoub
140275ad1d Split rules and descriptors in CSS 2016-09-24 15:36:26 +02:00
Guillaume Ayoub
49cff975a1 Parse @font-face rules 2016-09-23 19:00:14 +02:00
Guillaume Ayoub
d5f45ac15e Update documentation about fonts level 3 2016-09-13 05:03:33 +02:00
Guillaume Ayoub
f780cc033e Support font-language-override 2016-09-13 05:02:36 +02:00
Guillaume Ayoub
fa371be749 Replace TestHTML by FakeHTML to please pytest3 2016-09-12 00:30:39 +02:00
Guillaume Ayoub
4156febcbf Support CSS Fonts level3 2016-09-12 00:23:52 +02:00
Guillaume Ayoub
c3c2993f1b Merge branch 'master' of github.com:Kozea/WeasyPrint 2016-09-07 18:48:56 +02:00
Guillaume Ayoub
68ddba2213 Remove empty line at the beginning of a file 2016-09-04 20:40:23 +02:00
Guillaume Ayoub
c0de0cdec4 Merge pull request #355 from johnlb/master
added font requirements to docs (hacking.rst)
2016-09-04 20:33:47 +02:00
John Bell
b2a1ceb02c added font requirements to docs (hacking.rst) 2016-09-04 10:57:34 -04:00
Guillaume Ayoub
3fc6e3334a Merge pull request #352 from Kozea/presentationalhints
Support presentational hints
2016-09-01 23:14:31 +02:00
Guillaume Ayoub
4f052feee0 Remove print() in tests 2016-09-01 02:35:51 +02:00
Guillaume Ayoub
27f63bc7e8 Update documentation 2016-09-01 02:35:21 +02:00
Guillaume Ayoub
7925baa5f8 Test presentational hints 2016-09-01 02:11:33 +02:00
Guillaume Ayoub
207694ac14 Use a stylesheet for some presentational hints 2016-08-31 22:33:26 +02:00
Guillaume Ayoub
8810f82841 Add an option to follow presentational hints 2016-08-30 19:10:53 +02:00
Guillaume Ayoub
b2a5d7a98f Add a presentational-hints option 2016-08-30 18:15:30 +02:00
Guillaume Ayoub
b252260522 Small fixes for column layouts 2016-08-30 17:54:15 +02:00
Guillaume Ayoub
e7b99e7bea Merge branch 'master' into presentationalhints 2016-08-30 17:38:01 +02:00
Guillaume Ayoub
698ce20f1f Support break-* properties 2016-08-30 13:35:23 +02:00
Guillaume Ayoub
de08de872c Merge branch 'master' into presentationalhints 2016-08-30 00:58:48 +02:00
Guillaume Ayoub
e7723fde4a Handle relative column-layout boxes 2016-08-30 00:57:44 +02:00