Fixes and minor improvements
The following habe been fixed:
- #1043
- #1053
- undocumented occasional error calculating envelopping rectangle for paths in
Page.get_drawings()
- undocumented occasional loop in
TextWriter.fill_textbox()
- added method
Font.char_lengths()
which returns a tuple of all character widths for a given string. An improved version ofFont.text_length()
- greatly improved performance of
Font.text_length()
- added various ways to delete multiple PDF pages, among them are slices and the Python
del
statement - changed method
Document.del_toc_item()
: the item's title text will no longer be removed - instead the item is shown grayed-out to indicate its deletion.