Guillaume Ayoub
|
6593f48430
|
Ignore but include unknown font tables
|
2020-05-29 23:41:16 +02:00 |
|
Guillaume Ayoub
|
30cc2c1105
|
Optimize fonts
|
2020-05-29 19:43:56 +02:00 |
|
Guillaume Ayoub
|
35f27b0afa
|
Use subprocess.run
It’s just more simple than Popen.
|
2020-05-18 23:53:19 +02:00 |
|
Guillaume Ayoub
|
04449a0fa1
|
Fix comment in PNG generation function
Using GhostScript as a library seems to be awful. Let’s forget this idea.
|
2020-05-18 22:45:35 +02:00 |
|
Guillaume Ayoub
|
32f0f22ac2
|
Clean return condition in document.py
|
2020-05-18 11:54:37 +02:00 |
|
Guillaume Ayoub
|
e019278d9f
|
Don’t make write_png return size
|
2020-05-18 01:36:48 +02:00 |
|
Guillaume Ayoub
|
c422c1b77e
|
Disable antialiasing by default
|
2020-05-18 01:29:37 +02:00 |
|
Guillaume Ayoub
|
e2700082fc
|
Don’t write GhostScript renderings on disk
|
2020-05-17 23:48:41 +02:00 |
|
Guillaume Ayoub
|
d1dcea7b1c
|
Fix anchors
|
2020-05-17 17:12:23 +02:00 |
|
Guillaume Ayoub
|
7e9f80e7a2
|
Add comment for outlines
|
2020-05-17 17:12:16 +02:00 |
|
Guillaume Ayoub
|
f7ce6a6db0
|
Don’t use references for states and xobjects dicts
|
2020-05-17 17:04:45 +02:00 |
|
Guillaume Ayoub
|
e1e3974d00
|
Fix typo
|
2020-05-17 16:59:58 +02:00 |
|
Guillaume Ayoub
|
522b240474
|
Don’t set links on lineboxes
|
2020-05-17 15:54:02 +02:00 |
|
Guillaume Ayoub
|
e711363490
|
Add an option to enable antialiasing for PNG generation
|
2020-05-17 15:06:17 +02:00 |
|
Guillaume Ayoub
|
3de277ce0e
|
Handle opacity
|
2020-05-17 14:46:41 +02:00 |
|
Guillaume Ayoub
|
8d2ea802f0
|
Add various dictionaries only when needed
|
2020-05-16 17:05:48 +02:00 |
|
Guillaume Ayoub
|
07ac9e855f
|
Fix attachments name discovery
|
2020-05-16 17:05:11 +02:00 |
|
Guillaume Ayoub
|
5f2107fde8
|
Remove embedded files dictionary when empty
|
2020-05-16 16:25:06 +02:00 |
|
Guillaume Ayoub
|
9e486a345a
|
Fix outlines
|
2020-05-16 16:19:28 +02:00 |
|
Guillaume Ayoub
|
0c9312167e
|
Don’t remove seconds when timezone is set
|
2020-05-16 15:23:20 +02:00 |
|
Guillaume Ayoub
|
1383592243
|
Fix multi-page PNG generation
|
2020-05-16 00:04:09 +02:00 |
|
Guillaume Ayoub
|
5b4bbb22e7
|
Fix many tests
|
2020-05-13 01:02:43 +02:00 |
|
Guillaume Ayoub
|
cad749b93e
|
Lint
|
2020-05-12 23:54:42 +02:00 |
|
Guillaume Ayoub
|
e4aab188f9
|
Use a reference for ToUnicode
|
2020-05-12 23:47:22 +02:00 |
|
Guillaume Ayoub
|
00110952bb
|
Merge branch 'pydyf' of gitlab.com:courtbouillon/weasyprint into pydyf
|
2020-05-12 21:54:07 +02:00 |
|
Guillaume Ayoub
|
cd5f178409
|
Fix outlines
|
2020-05-12 21:53:54 +02:00 |
|
Lucie Anglade
|
12272f50e4
|
Cmaps into font
|
2020-05-12 18:38:12 +02:00 |
|
Guillaume Ayoub
|
c42bbf1fae
|
Fix embedded OpenType fonts
|
2020-05-12 13:11:52 +02:00 |
|
Guillaume Ayoub
|
21226efbe1
|
Fix zlib compression
|
2020-05-12 02:03:39 +02:00 |
|
Guillaume Ayoub
|
099347ce94
|
Fix arrays in char widths
|
2020-05-12 02:00:07 +02:00 |
|
Guillaume Ayoub
|
53caa99a50
|
Use a smaller array for characters widths
|
2020-05-10 18:09:06 +02:00 |
|
Guillaume Ayoub
|
36cc7c6f68
|
Fix insconsistent kerning and font metrics values
|
2020-05-10 17:51:37 +02:00 |
|
Guillaume Ayoub
|
e1b458e174
|
Handle TTF and OTF font files with dedicated PDF syntaxes
|
2020-05-10 00:14:56 +02:00 |
|
Guillaume Ayoub
|
24c81ad99e
|
Simplify kerning and font size management
|
2020-05-09 22:23:33 +02:00 |
|
Guillaume Ayoub
|
d25527351b
|
Always store 1pt fonts to get metrics
|
2020-05-09 18:06:20 +02:00 |
|
Guillaume Ayoub
|
e9122c989e
|
Fix units used for characters widths and kerning
|
2020-05-09 15:52:43 +02:00 |
|
Guillaume Ayoub
|
46a1524af6
|
Fix text size and position
|
2020-05-09 00:00:07 +02:00 |
|
Guillaume Ayoub
|
d53b86053d
|
Use font codepoints instead of Unicode codepoints
|
2020-05-08 17:14:45 +02:00 |
|
Lucie Anglade
|
6e3214eea8
|
Fix widths
|
2020-05-08 15:14:10 +02:00 |
|
Lucie Anglade
|
a6ff868094
|
First and last characters, and widths
|
2020-05-08 15:07:51 +02:00 |
|
Guillaume Ayoub
|
d4b7f242c3
|
Remove useless variable
|
2020-05-08 02:13:44 +02:00 |
|
Guillaume Ayoub
|
8f640237e5
|
Remove useless font name prefix
|
2020-05-08 01:58:43 +02:00 |
|
Guillaume Ayoub
|
954dcc03b4
|
Fix font name
|
2020-05-08 01:55:50 +02:00 |
|
Guillaume Ayoub
|
aa2030d737
|
Change some font attributes names
|
2020-05-08 01:50:41 +02:00 |
|
Guillaume Ayoub
|
05bc5eed17
|
Don’t use the 3/4 ratio, as Pango and PDF both use points
|
2020-05-08 01:39:42 +02:00 |
|
Guillaume Ayoub
|
3342386a28
|
Fix font bounding box
|
2020-05-08 01:30:07 +02:00 |
|
Lucie Anglade
|
36ed176a36
|
Use computed values
|
2020-05-08 00:40:01 +02:00 |
|
Guillaume Ayoub
|
c1f95ab8f7
|
Remove useless parenthesis
|
2020-05-08 00:31:50 +02:00 |
|
Guillaume Ayoub
|
6f44d18b81
|
Merge branch 'pydyf' of gitlab.com:courtbouillon/weasyprint into pydyf
|
2020-05-08 00:31:00 +02:00 |
|
Guillaume Ayoub
|
0dcddc7a4e
|
Display some text
|
2020-05-08 00:29:46 +02:00 |
|
Lucie Anglade
|
a8eb334f9d
|
Release memory
|
2020-05-08 00:28:30 +02:00 |
|
Lucie Anglade
|
088e06da0e
|
Use the saved pango_font
|
2020-05-08 00:24:30 +02:00 |
|
Lucie Anglade
|
18e10631f9
|
Set flags always to 4, symbolic
|
2020-05-08 00:19:07 +02:00 |
|
Lucie Anglade
|
f306418cfd
|
Get FontBBox and CapHeight
|
2020-05-08 00:11:19 +02:00 |
|
Lucie Anglade
|
7dab88c3ad
|
Font name, and save glyphs
|
2020-05-07 23:27:43 +02:00 |
|
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 |
|
Guillaume Ayoub
|
5ed840fc7d
|
Include font streams
|
2020-05-06 07:42:45 +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
|
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 |
|
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 |
|
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
|
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
|
47ec97bcaf
|
Remove useless explicit object inheritance
|
2020-01-02 12:06:58 +01:00 |
|
Guillaume Ayoub
|
2da6ff3909
|
Add default counter class
|
2019-12-24 15:56:24 +01:00 |
|
Guillaume Ayoub
|
a036fe8f4b
|
Remove counters.py
|
2019-12-24 15:18:10 +01:00 |
|
Guillaume Ayoub
|
73244891f4
|
Add base code for @counter-style rules
|
2019-12-24 14:39:40 +01:00 |
|
Guillaume Ayoub
|
ba2b4542e8
|
Merge branch 'master' into perf
|
2019-07-24 10:54:20 +02:00 |
|
Guillaume Ayoub
|
620e0754f4
|
Fix lint
|
2019-07-23 18:07:14 +02:00 |
|
Raphael Gaschignard
|
afc7dabc1b
|
Refactor LayoutContext building
this will provide a simpler API for testing context-using functions inside tests
|
2019-07-23 14:12:08 +09:00 |
|
Guillaume Ayoub
|
0142689fd9
|
Merge branch 'master' into perf
|
2019-07-18 16:33:22 +02:00 |
|
Stani
|
67f031b8e7
|
Add state to bookmark tree documentation.
There is a breaking change in make_bookmark_tree, which was not documented.
|
2019-07-15 15:15:34 +02:00 |
|
Guillaume Ayoub
|
8a64fd40db
|
Remove TODO
|
2019-07-11 17:01:53 +02:00 |
|
Szmen
|
008a5b3742
|
Docs: Fixed wrong nested list comprehension example
|
2019-07-09 00:06:19 +02:00 |
|
Guillaume Ayoub
|
9f442be640
|
Move percentage function into percentages module
|
2019-06-02 18:06:25 +02:00 |
|
Manuel Barkhau
|
20afa51175
|
refactor: factor out "precentage" function
|
2019-06-01 01:39:40 +02:00 |
|
Guillaume Ayoub
|
2ce03092f1
|
Small code and style improvements around bookmark-state
Related to #870.
|
2019-05-23 23:55:56 +02:00 |
|
Gabriel Corona
|
34127350b6
|
Implement bookmark-state support
|
2019-05-19 19:31:32 +02:00 |
|
Guillaume Ayoub
|
840c4a6d92
|
Don't crash when using UTC timezones
Fix #862.
|
2019-05-14 15:32:17 +02:00 |
|
Guillaume Ayoub
|
1d0c3e435f
|
Use explicit variable names
|
2019-04-02 11:37:16 +02:00 |
|
Guillaume Ayoub
|
84e1813c6c
|
Merge branch 'master' into media-queries
|
2019-04-01 14:41:51 +02:00 |
|
Guillaume Ayoub
|
b7a9fe7dcc
|
Update copyright
|
2019-03-04 11:04:06 +01:00 |
|
Guillaume Ayoub
|
bdd45475b6
|
Clean a lot of things in API documentation
|
2019-02-22 11:34:46 +01:00 |
|
Guillaume Ayoub
|
03f01e37ee
|
Update and add some docstrings
|
2019-02-21 17:34:56 +01:00 |
|
Guillaume Ayoub
|
857d889816
|
Merge branch 'master' into media-queries
|
2019-01-24 18:36:53 +01:00 |
|
Guillaume Ayoub
|
b81a669c74
|
Escape links and targets with quotes
Fix #774.
|
2019-01-23 16:05:01 +01:00 |
|
Guillaume Ayoub
|
3513e95b41
|
Use a separate logger for generation progress
|
2019-01-03 23:02:44 +01:00 |
|
Guillaume Ayoub
|
3ac9c67a79
|
Add comments about rounding floats to avoid locale problems
|
2018-12-29 17:11:30 +01:00 |
|