15
0
forked from pool/python-fpdf2
Commit Graph

3 Commits

Author SHA256 Message Date
350fef267b Accepting request 1243026 from home:glaubitz:branches:devel:languages:python
- Update to 2.8.2
  * Added
    - new optional parameter `border` for table cells: users can define
      specific borders (left, right, top, bottom) for individual cells
    - `FPDF.write_html()`: now parses `<title>` tags to set the document title.
      By default, it is added as PDF metadata, but not rendered in the document
      body. However, this can be enabled by passing `render_title_tag=True` to
      `FPDF.write_html()`.
    - support for LZWDecode compression
    - Python 3.13 is now officially supported
    - support for page labels and created a reference table of contents implementation
    - documentation on how to: render spreadsheets as PDF tables
    - support for passing `Align` values (along with string values like `'C'`,
      `'L'`, `'R'`) in `l_margin` of `TextStyle` to horizontally align text
  * Fixed
    - support for `align=` in `FPDF.table()`. Due to this correction, tables are now
      properly horizontally aligned on the page by default. This was always specified
      in the documentation, but was not in effect until now. You can revert to have
      left-aligned tables by passing `align="LEFT"` to `FPDF.table()`.
    - `FPDF.set_text_shaping(False)` was broken since version 2.7.8 and is now working properly
    - fixed bug where cells with `rowspan`, `colspan` > 1 and null text were not displayed properly
    - `CreationDate` metadata used a wrong timezone offset for UTC
    - `insert_toc_placeholder()`] did not properly set the page orientation, which
      caused a bug when the last page of the document was in a different orientation
  * Changed
    - improved logic for handling text substitution of the total number of pages,
      ensuring compatibility with text shaping
    - all `AnnotationDict` properties can now be passed to `FPDF.text_annotation()`,
      `FPDF.free_text_annotation()`,  `FPDF.add_action()`, `FPDF.add_text_markup_annotation()`
      & `FPDF.ink_annotation()`. This includes `title`, `color`, `border_width`...

OBS-URL: https://build.opensuse.org/request/show/1243026
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fpdf2?expand=0&rev=5
2025-02-04 13:55:30 +00:00
Jeremy Moffitt
31777e3eb1 Accepting request 1218949 from home:dgarcia:branches:devel:languages:python
- Using obs_scm service to download from repository
  without some files to do not distribute CC-noncomercial licensed
  ttf. boo#1232452

OBS-URL: https://build.opensuse.org/request/show/1218949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fpdf2?expand=0&rev=3
2024-10-29 14:32:39 +00:00
b22f003c1c Accepting request 1201629 from home:yeey:OpenWebUI
needed for openwebui

OBS-URL: https://build.opensuse.org/request/show/1201629
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fpdf2?expand=0&rev=1
2024-09-17 15:27:48 +00:00