14
0
Files
python-weasyprint/python-weasyprint.changes
Markéta Machová a059df5bad Accepting request 1221470 from home:glaubitz:branches:devel:languages:python
- Update to 63.0
  * #2252, #895: Handle page groups, with financial support from Code & Co.
  * #1630, #2286: Support CSS Color Level 4
  * #2192: Add PDF variant for debugging purpose
  * #2208: Support submit inputs in PDF forms
  * #2139: Support mask-border-* properties
  * #1831, #2143: Support radio inputs in PDF forms
  * #2262: Avoid integer overflows when converting units from/to doubles
  * #2260: Avoid float collision with box establishing formatting context
  * #2240, #2242: Handle svg tags with no size
  * #2231, #1171, #2222, #1208: Fix several problems related to flex-direction: column
  * #2239: Don’t fail when SVG markers are undefined references
  * #2230, #2238: Set explicit flags when loading DLLs on Windows
  * #2228, #1942: Store original and PDF stream images in different cache slots
  * #2234: Apply stylesheet and other basic operations to SVG root tag
  * #2054, #2233: Keep auto margins on flex layout boxes
  * #1883: Don’t crash with empty list marker strings
  * #2216: Fix vertical alignment of out-of-flow elements in tables
  * #996, #2219: Don’t ignore absolutely positioned elements inside flex boxes
  * #2217: Don’t crash with normal column gaps
  * #1817: Don’t assume that lines break after spaces
  * #1868: Don’t break rows with atomic cells
  * #2166: Don’t display bottom border on cells in split rows
  * 61852c4: Capture fontTools logs when subsetting fonts
  * #2190: Don’t use a pattern when drawing backgrounds for no-repeat background images
  * #2185: Check that Harfbuzz version is at least 4.1.0 to subset fonts
  * #2180: Store width for all glyphs when font is not subset
  * #2183: Respect break-inside: avoid for flex items
  * #2055, #2058: Fix right-to-left tables with collapsed borders
  * #2179, #1128: Handle buggy Adobe Photoshop CMYK JPEGs

OBS-URL: https://build.opensuse.org/request/show/1221470
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=34
2024-11-05 15:37:24 +00:00

864 lines
39 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-------------------------------------------------------------------
Tue Nov 5 14:27:00 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 63.0
* #2252, #895: Handle page groups, with financial support from Code & Co.
* #1630, #2286: Support CSS Color Level 4
* #2192: Add PDF variant for debugging purpose
* #2208: Support submit inputs in PDF forms
* #2139: Support mask-border-* properties
* #1831, #2143: Support radio inputs in PDF forms
* #2262: Avoid integer overflows when converting units from/to doubles
* #2260: Avoid float collision with box establishing formatting context
* #2240, #2242: Handle svg tags with no size
* #2231, #1171, #2222, #1208: Fix several problems related to flex-direction: column
* #2239: Dont fail when SVG markers are undefined references
* #2230, #2238: Set explicit flags when loading DLLs on Windows
* #2228, #1942: Store original and PDF stream images in different cache slots
* #2234: Apply stylesheet and other basic operations to SVG root tag
* #2054, #2233: Keep auto margins on flex layout boxes
* #1883: Dont crash with empty list marker strings
* #2216: Fix vertical alignment of out-of-flow elements in tables
* #996, #2219: Dont ignore absolutely positioned elements inside flex boxes
* #2217: Dont crash with normal column gaps
* #1817: Dont assume that lines break after spaces
* #1868: Dont break rows with atomic cells
* #2166: Dont display bottom border on cells in split rows
* 61852c4: Capture fontTools logs when subsetting fonts
* #2190: Dont use a pattern when drawing backgrounds for no-repeat background images
* #2185: Check that Harfbuzz version is at least 4.1.0 to subset fonts
* #2180: Store width for all glyphs when font is not subset
* #2183: Respect break-inside: avoid for flex items
* #2055, #2058: Fix right-to-left tables with collapsed borders
* #2179, #1128: Handle buggy Adobe Photoshop CMYK JPEGs
* #2175: Dont compress PDF metadata for PDF/A-1
* #2174: Fix extra width distribution for auto table layout
* #1155: Improve rendering speed for large colspan values
* #2120, #2178: Use Harfbuzz to subset fonts by default
* #2282, #2284: Simplify Alpine install instructions
* #2254: Add warning about antivirus false detection
* #2220: Add extra information to debug logs
* #2211: Fix link to samples
* #2195: Update cache argument documentation
* #2105, #2151: Use MSYS2 instead of GTK+3 for Windows
- Update BuildRequires and Requires from pyproject.toml
-------------------------------------------------------------------
Sun Jun 30 08:16:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 62.3:
* #2174: Fix extra width distribution for auto table layout
* #2175: Dont compress PDF metadata for PDF/A-1
* Set default PDF variant values in options before
generating PDF
* Avoid PDF artifacts when drawing 0-width borders
* Dont duplicate column when container is split on
multiple pages
* Dont set default Fontconfig values for unset
properties
* Fix layout when all footnotes are removed from the
footnote area
* Make items overflowing grid wrap to the next
row/column
* Dont append useless tracks when grid elements are
positioned
-------------------------------------------------------------------
Mon Jun 10 09:58:20 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 62.2:
* #2142, #2162: Support grid-auto-flow: column, with financial
support from Menutech
* #2167: Fix space added by CSS gap at the end
* #2134: Remove absolute placeholders from discarded content
* #2154: Dont crash when grid items have auto margins
* 8cdd66f: Fix CSS nesting for nested selectors with comma
* 3359db5: Fix and test grid shorthand
* 82deda4: Fix wrong resume_at for split floats
* ff2acf1: Ensure that gradient size is positive to please some
* #2144, #2149: Avoid broken fonts when generating multiple
documents
* c10c6892: Display at least one grid row on empty pages
* #2146: Dont crash when flex containers parents height is
auto
* Python 3.9+ is now needed, Python 3.7 and 3.8 are not
supported anymore
* pydyf 0.10.0+ is now needed
* tinycss2 1.3.0+ is now needed
* Features:
* #543, #2121: Support CSS Grid layout
* #2124, #2125: Support border-image-* properties
* #2084, #2077: Support CSS nesting
* #2101: Support HTML maxlength attribute for form fields
* #2095: Apply overflow to replaced boxes
* 245e4f5: Add support of PDF/A-?u
* Bug fixes:
* #2136: Dont clip aligned text in SVG
* #2135: Allow column-direction flex containers to use
percentage-based heights
* #2128: Dont crash when a FontConfig object is destroyed
early
* #2079: Fix executable file for some Windows versions
* #2131: Fix alpha for images before/after transparent text
* #2111: Handle auto and none values for CSS quotes property
* #2103: Dont crash with overconstrained columns
* #2100: Fix rounding error when detecting overflows
* #2093, #2097, #2094: Mark use of md5() and sha1() as not for
security
* #1956, #2087: Use CSS table module level 3 to compute widths
* #2086: Fix selects with empty values displaying None
* #1112, #2082, #2085: Fix computation for outer min-content
width for table cells
* 016bd81: Fix many different bugs with SVG markers
* Performance:
* #2130: Cache font key instead of whole font content
* Documentation:
* #2108: Update documentation about CSS leader() function
-------------------------------------------------------------------
Sat Mar 16 16:22:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 61.2:
* Security:
* Always use URL fetcher for attachments
* #2075: Use default value when variable is not defined
* #2070: Dont crash when rendering SVGs with non-text a
children
* Dont crash when SVG file cant be rendered
* Documentation:
* #2067: Suggest "dnf" instead of "yum" to install Fedora
packages
* Improve documentation for Windows
* Fix required version of TinyCSS2
* #1219, #2017: Support var() in shorthand and multiple-value
functions
* #1986: Support percentages for opacity
* #2050: Build executable file for Windows
* #2000: Support select fields
* #1993: Handle background-attachment: fixed to cover the whole
page
* #2023, #2022: Allow text-based file objects for HTML and CSS
classes
* #2014: Remove warnings for PDF/A and PDF/UA compatibility
* Bug fixes:
* #2052, #1869: Handle attachments for PDF/A documents
* #2013, #2051: Apply margin to running tables
* #1278, #1884: Draw collapsed borders of running tables
* #2029: Fix page counter in non-root absolute boxes
* #2043: Fix text-anchor on SVG tspan elements
* #1968, #2039: Use cell's border-height to calculate table row
height
* #2030: Ensure that bounding box is set to invisible text tags
* #2040, #2041: Dont crash on malformed URLs
* #2026: Dont break pages when fixed-height elements dont
overflow page
* #2038: Dont mix original streams when drawing transparent
text
* #2016: Avoid duplication when breaking out-of-flow boxes
* #2012: Dont crash when CSS properties have no value
* #2010, #1287: Fix many corner cases with CSS variables
* #1996: Dont crash when drawing groove/ridge collapsed
borders
* #1982: Fix SVG markers size, position and drawing
* Documentation:
* #2021, #2048: Replace non-virtualenv installation
instructions with distribution packages
-------------------------------------------------------------------
Thu Jan 11 11:03:22 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Fri Dec 29 10:19:12 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 60.2:
* Fix SVG markers size, position and drawing
* Draw background behind absolutely positioned replaced boxes
* Dont crash with bitmap fonts with no "glyf" table
* Improve SVG text-anchor attribute
* Fix crash caused by wrong UTF-8 indices
* Print form fields
* Add support for textLength and lengthAdjust in SVG text
elements
* Handle <wbr> tag
* Handle y offset of glyphs
* Add a --timeout option
* Bug fixes:
* Fix footnote-call displayed incorrectly for some fonts
* Fix page-margin boxes layout algorithm
* Fix IndexError when rendering PDF version 1.4
* Apply text transformations to first-letter pseudo elements
* Avoid footnote appearing before its call
* Fix balance before "column-span: all"
* Only draw required glyph with OpenType-SVG fonts
* Dont draw clipPath when defined after reference
* Dont ignore min-width when computing cell size
* Fix named pages inheritance
* Avoid page breaks caused by children of overflow hidden boxes
* Use bleed area for pages painting area
* Use margin box of children to define available width for
leaders
-------------------------------------------------------------------
Wed Jun 14 11:42:32 UTC 2023 - Marcus Rueckert <mrueckert@suse.de>
- instead of having to maintain version information in multiple
places refactor them out into defines for easier maintenance
- switch to autosetup
-------------------------------------------------------------------
Wed Jun 14 04:42:21 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 59.0:
* New features:
+ a4fc7a1: Support image-orientation
* Dependencies:
+ #1754: Pillow 9.1.0 is now needed
* Bug fixes:
+ #1864: Handle overflow for svg and symbol tags in SVG images
+ #1867: Remove duplicate compression of attachments
+ d0ad5c1: Override use tag children instead of drawing their references
+ #1874: Drawn underline and overline behind text
+ #1822, #1823: Fix vertical positioning for absolute replaced elements
+ #1807: Dont crash when out-of-flow box is split in out-of-flow parent
+ #1806: Dont crash when fixed elements arent displayed yet in
aborted line
+ #1809: Fix background drawing for out-of-the-page transformed boxes
+ #1764: Use reference instead of stream for annotation appearance stream
+ #1783: Fix multiple font weights for @font-face declarations
+ #1756: Fix rem font size for SVG images
+ #1755: Keep format when transposing images
+ #1753: Dont use deprecated read_text function when files is available
+ #1741: Generate better manpage
+ #1747: Correctly set target counters in pages absolute elements
+ #1748: Always set font size when font is changed in line
+ #1739: Set baseline on all flex containers
+ #1740: Dont crash when currentColor is set on root svg tag
+ #1718: Dont crash with empty bitmap glyphs
+ #1736: Always use the fonts vector variant when possible
+ #1662: Use a stable key to store stream fonts
+ #1733: Dont remove attachments when adding internal anchors
* Performance:
+ dfccf1b: Use faces as fonts dictionary keys
+ 0dc12b6: Cache add_font to avoid calling get_face too often
+ 75e17bf: Dont call process_whitespace twice on many children
+ 498d3e1: Optimize __missing__ functions
-------------------------------------------------------------------
Sat Sep 3 19:13:07 UTC 2022 - Klaas Freitag <opensuse@freisturz.de>
- Update to version 56.1
* Support format 5 for bitmap glyphs
* #1666: Fix reproducible PDF generation with embedded images
* #1668: Fix @page:nth() selector
* #1674: Follow max-height on footnot area, with financial support from Code & Co.
* #1678: Fix gradients with opacity set
-------------------------------------------------------------------
Mon May 16 11:21:00 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- Update to 55.0
Python 3.7 is now the minimum requirement
- Features
- #1534: Support word-break: break-all
- #489, #1619: Support column breaks
- #1553: Allow reproducible PDF generation
- #1547: Handle break-inside: avoid on tr tags
- Bugfixes
- #1626, 3802f88: Fix the vertical position and available height of absolute boxes
- 9641098, e5e6b88: Minor fixes for multi-column layout
- 0fcc7de: Dont stop rendering SVG when CSS parsing fails
- #1636: Fix sequential footnotes that could disappear when overflowing
- #1637: Fix position of absolute boxes with right-to-left direction
- #1641: Fix relative paths for SVG files stored as data URLs
- #1007, #1524: Handle inherit in shorthand properties
- #1539, #1541: Space out no-repeat patterns
- #1554: Avoid invalid PDF operators when drawing SVG text
- #1564, #1566, #1570: Dont output footnotes before their call sites
- #1020, #1597: Prevent infinite loops in multi-column layout
- #1512, #1613: Fix position of absolute boxes in right-to-left contexts
- #1093: Draw borders around absolute replaced boxes
- #984, #1604: Fix skip stacks for columns
- #1621: Better support of nested text-decoration properties
- fe1f3d9: Fix absolute blocks in lines
- 4650b70: Clear adjoining margins when a containers child doesnt fit
- #1588 Support position: absolute in footnotes
- #1586 Fix discarded text-align values
- #1575: Always store parent blocks children as lists
- #1574, #1559: Fix float rounding errors
- #1571: Ignore unknown glyphs
- #1561, #1562: Fix line break when breaks occur between a nbsp and an inline block
- #1560: Always set the child index
- #1558: Fix patterns with use tags
- #1540, #1239: Handle absolute children in running elements
- #1538: Handle invalid values in text-align
- #1536: Handle absolute flex boxes
- Performance
- #1548: Improve tests speed
- 3b0ae92, #1457: Improve fonts management
- #1597: Improve column layout speed
- #1587, #1607, #1608: Cache ch and ex units calculations
-------------------------------------------------------------------
Mon Jan 10 20:04:52 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Update to 54.0:
- Always use absolute paths to get hrefs in SVG
- Fix many rendering problems of broken tables
- Fix support of fonts with SVG emojis
- html5lib 1.1+ is now needed.
- Support footnotes, with financial support from Code & Co.
- Handle parallel flows for floats, absolutes, table-cells
- Support ``text-align-last`` and ``text-align-all`` properties
- Draw SVG and PNG emojis
- Support ``overflow-wrap: anywhere``
- Cache SVG ``use`` tags
- Encode non-JPEG images as PNGs instead of JPEG2000s
- Dont use ``text-transform`` text for content-based uses
- Dont serialize and parse again inline SVG files
- Correctly handle whitespaces in bookmark labels
- Fix column height with ``column-span`` content
- Fix absolutely positioned boxes in duplicated pages
- Fix ``target-counter`` attribute in flex items
- Dont draw empty glyphs
- Dont crash when font size is really small
-------------------------------------------------------------------
Wed Dec 22 23:52:20 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- port to the pyproject build to get the commandline for weasyprint
back (boo#1194029)
-------------------------------------------------------------------
Thu Dec 16 11:37:31 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Skip python36 build: FontTools dropped support
- Update test and runtime requirements
-------------------------------------------------------------------
Tue Dec 7 15:49:57 UTC 2021 - pgajdos@suse.com
- do not require pytest-runner for build, it is not needed
-------------------------------------------------------------------
Mon Nov 22 11:24:39 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Skip two tests which fail (gh#Kozea/WeasyPrint#1503)
-------------------------------------------------------------------
Mon Nov 22 10:52:42 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Rename package to lower-case name (according to PyPI).
-------------------------------------------------------------------
Sun Nov 21 09:36:20 UTC 2021 - Axel Braun <axel.braun@gmx.de>
- enable all tests after upgrade of tinycss2 to 1.1.0
-------------------------------------------------------------------
Fri Nov 19 17:06:45 UTC 2021 - Axel Braun <axel.braun@gmx.de>
- update to 53.4
for changelog see docs/changelog.rst
-------------------------------------------------------------------
Fri Apr 30 12:20:47 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Update to 52.5
* Python 3.6+ is now needed, Python 3.5 is not supported anymore
* Implement counter-set
* Add support for concatenating var() functions in content declarations
* Add an option to optimize embedded images size, with financial support from Hashbang
* Add an image cache that can be shared between documents, with financial support from Hashbang
* Fix URL handling with tinycss2Fix URL handling with tinycss2
* Add support of line-clamp, with financial support from expert Germany
- Add quotes.patch to support tinycss older than 1.1.0
-------------------------------------------------------------------
Thu Sep 24 09:05:04 UTC 2020 - Klaus Kämpf <kkaempf@suse.com>
- require python-CairoSVG
-------------------------------------------------------------------
Mon May 18 07:25:35 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
-------------------------------------------------------------------
Fri Jan 17 08:01:51 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 51:
* Speed and memory use have been largely improved.
* #209: Make break-* properties work inside tables
* #661: Make blocks with overflow: auto grow to include floating children
* #882: Add support of element() and running()
* #972: Add HTML element to Box class
* 7a4d6f8: Support larger and smaller values for font-size
-------------------------------------------------------------------
Mon Jul 29 12:16:10 UTC 2019 - pgajdos@suse.com
- version update to 48
* New features:
#891: Handle text-overflow
#878: Handle column-span
#855: Handle all the text-decoration features
#238: Don't repeat background images when it's not needed
#875: Handle object-fit and object-position
#870: Handle bookmark-state
#843: Handle CSS variables
#846: Handle :nth() page selector
#847: Allow users to use a custom SSL context for HTTP requests
* Bug fixes:
#686: Fix column balance when children are not inline
#885: Actually use the content box to resolve flex items percentages
#867: Fix rendering of KaTeX output, including (1) set row baseline of tables when no cells are baseline-aligned, (2) set baseline for inline tables, (3) don't align lines larger than their parents, (4) force CairoSVG to respect image size defined by CSS.
#873: Set a minimum height for empty list elements with outside marker
#811: Don't use translations to align flex items
#851, #860: Don't cut pages when content overflows a very little bit
#862: Don't crash when using UTC dates in metadata
#797: Fix underlined justified text
#836: Fix crash when flex items are replaced boxes
#835: Fix margin-break: auto
* Documentation:
#854: Add a "Tips & Tricks" section
-------------------------------------------------------------------
Thu Mar 21 15:42:39 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to v46:
* #771: Handle box-decoration-break
* #115: Handle margin-break
* #821: Continuous integration includes tests on Windows
-------------------------------------------------------------------
Tue Feb 26 05:55:42 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Disable building with pytest extensions intended for developers
- Add license
- Activate test suite
- Update to v45
* Python 3.5+ is now needed, Python 3.4 is not supported anymore
* Bug fixes
+ Prevent endless loop and index out of range in pagination
+ Add a --quiet CLI parameter
+ Fix library loading on Alpine
+ Use path2url in tests for Windows
+ Add LICENSE file to distributed sources
+ Fix pending references
+ Don't draw patterns for empty page backgrounds
+ Don't crash when links include quotes
+ Fix a problem with justified text
+ Launch tests with Python 3.7
+ Fix a corner case with tables
+ Don't logger handlers defined before importing WeasyPrint
+ Don't include punctuation for hyphenation
+ Don't crash when people use uppercase words from old-fashioned Microsoft fonts in tables, especially when there's an 5th column
+ Use a separate logger to report the rendering process
+ Add a --debug CLI parameter and set debug level for unknown prefixed CSS properties
+ Define minimal versions of Python and setuptools in setup.cfg
* Documentation
+ Fix a small typo in the tutorial
+ Document no alignement character support
+ Fix phrasing in Hacking section
+ Add a paragraph about fontconfig error
+ Fix list of dependencies for Alpine
+ Fix API documentation of HTML and CSS classes
- from v44
* Bug fixes
+ Don't crash during PDF generation when locale uses commas as decimal separator
+ Close file when reading VERSION
+ Improve speed and memory usage for long texts.
* Documentation:
+ Small documentation fixes
+ Fix broken links in NEWS.rst
- from v43
* Bug fixes
+ Make empty strings clear previous values of named strings
+ Include tools in packaging
-------------------------------------------------------------------
Tue Dec 4 12:55:55 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Sun Jun 10 10:55:33 UTC 2018 - jengelh@inai.de
- Use noun phrase in summary.
-------------------------------------------------------------------
Thu Jun 7 17:21:18 UTC 2018 - toddrme2178@gmail.com
- Fix pango dependency
-------------------------------------------------------------------
Wed May 16 16:33:12 UTC 2018 - toddrme2178@gmail.com
- Update to Version 0.42
+ New features:
* `#532 <https://github.com/Kozea/WeasyPrint/issues/532>`_:
Support relative file URIs when using CLI.
+ Bug fixes:
* `#553 <https://github.com/Kozea/WeasyPrint/issues/553>`_:
Fix slow performance for pre-formatted boxes with a lot of children.
* `#409 <https://github.com/Kozea/WeasyPrint/issues/409>`_:
Don't crash when rendering some tables.
* `#39 <https://github.com/Kozea/WeasyPrint/issues/39>`_:
Fix rendering of floats in inlines.
* `#301 <https://github.com/Kozea/WeasyPrint/issues/301>`_:
Split lines carefully.
* `#530 <https://github.com/Kozea/WeasyPrint/issues/530>`_:
Fix root when frozen with Pyinstaller.
* `#534 <https://github.com/Kozea/WeasyPrint/issues/534>`_:
Handle SVGs containing images embedded as data URIs.
* `#360 <https://github.com/Kozea/WeasyPrint/issues/360>`_:
Fix border-radius rendering problem with some PDF readers.
* `#525 <https://github.com/Kozea/WeasyPrint/issues/525>`_:
Fix pipenv support.
* `#227 <https://github.com/Kozea/WeasyPrint/issues/227>`_:
Smartly handle replaced boxes with percentage width in auto-width parents.
* `#520 <https://github.com/Kozea/WeasyPrint/issues/520>`_:
Don't ignore CSS @page rules that are imported by an @import rule.
- Update to Version 0.41
+ New features:
* `#471 <https://github.com/Kozea/WeasyPrint/issues/471>`_:
Support page marks and bleed.
+ Bug fixes:
* `#513 <https://github.com/Kozea/WeasyPrint/issues/513>`_:
Don't crash on unsupported image-resolution values.
* `#506 <https://github.com/Kozea/WeasyPrint/issues/506>`_:
Fix @font-face use with write_* methods.
* `#500 <https://github.com/Kozea/WeasyPrint/pull/500>`_:
Improve readability of _select_source function.
* `#498 <https://github.com/Kozea/WeasyPrint/issues/498>`_:
Use CSS prefixes as recommanded by the CSSWG.
* `#441 <https://github.com/Kozea/WeasyPrint/issues/441>`_:
Fix rendering problems and crashes when using @font-face.
* `bb3a4db <https://github.com/Kozea/WeasyPrint/commit/bb3a4db>`_:
Try to break pages after a block before trying to break inside it.
* `1d1654c <https://github.com/Kozea/WeasyPrint/commit/1d1654c>`_:
Fix and test corner cases about named pages.
+ Documentation:
* `#508 <https://github.com/Kozea/WeasyPrint/pull/508>`_:
Add missing libpangocairo dependency for Debian and Ubuntu.
* `a7b17fb <https://github.com/Kozea/WeasyPrint/commit/a7b17fb>`_:
Add documentation on logged rendering steps.
- Update to Version 0.40
+ New features:
* `#57 <https://github.com/Kozea/WeasyPrint/issues/57>`_:
Named pages.
* Unprefix properties, see
`#498 <https://github.com/Kozea/WeasyPrint/issues/498>`_.
* Add a "verbose" option logging the document generation steps.
+ Bug fixes:
* `#483 <https://github.com/Kozea/WeasyPrint/issues/483>`_:
Fix slow performance with long pre-formatted texts.
* `#70 <https://github.com/Kozea/WeasyPrint/issues/70>`_:
Improve speed and memory usage for long documents.
* `#487 <https://github.com/Kozea/WeasyPrint/issues/487>`_:
Don't crash on local() fonts with a space and no quotes.
- Update to Version 0.39
+ Bug fixes:
* Fix the use of WeasyPrint's URL fetcher with CairoSVG.
- Update to Version 0.38
+ Bug fixes:
* `#477 <https://github.com/Kozea/WeasyPrint/issues/477>`_:
Don't crash on font-face's src attributes with local functions.
- Update to Version 0.37
+ New features:
* `#437 <https://github.com/Kozea/WeasyPrint/issues/437>`_:
Support local links in generated PDFs.
+ Bug fixes:
* `#412 <https://github.com/Kozea/WeasyPrint/issues/412>`_:
Use a NullHandler log handler when WeasyPrint is used as a library.
* `#417 <https://github.com/Kozea/WeasyPrint/issues/417>`_,
`#472 <https://github.com/Kozea/WeasyPrint/issues/472>`_:
Don't crash on some line breaks.
* `#327 <https://github.com/Kozea/WeasyPrint/issues/327>`_:
Don't crash with replaced elements with height set in percentages.
* `#467 <https://github.com/Kozea/WeasyPrint/issues/467>`_:
Remove incorrect line breaks.
* `#446 <https://github.com/Kozea/WeasyPrint/pull/446>`_:
Let the logging module do the string interpolation.
- Update to Version 0.36
+ New features:
* `#407 <https://github.com/Kozea/WeasyPrint/pull/407>`_:
Handle ::first-letter.
* `#423 <https://github.com/Kozea/WeasyPrint/pull/423>`_:
Warn user about broken cairo versions.
+ Bug fixes:
* `#411 <https://github.com/Kozea/WeasyPrint/pull/411>`_:
Typos fixed in command-line help.
- Update to Version 0.35
+ Bug fixes:
* `#410 <https://github.com/Kozea/WeasyPrint/pull/410>`_:
Fix AssertionError in split_text_box.
- Update to Version 0.34
+ Bug fixes:
* `#398 <https://github.com/Kozea/WeasyPrint/issues/398>`_:
Honor the presentational_hints option for PDFs.
* `#399 <https://github.com/Kozea/WeasyPrint/pull/399>`_:
Avoid CairoSVG-2.0.0rc* on Python 2.
* `#396 <https://github.com/Kozea/WeasyPrint/issues/396>`_:
Correctly close files open by mkstemp.
* `#403 <https://github.com/Kozea/WeasyPrint/issues/403>`_:
Cast the number of columns into int.
* Fix multi-page multi-columns and add related tests.
- Update to Version 0.33
+ New features:
* `#393 <https://github.com/Kozea/WeasyPrint/issues/393>`_:
Add tests on MacOS.
* `#370 <https://github.com/Kozea/WeasyPrint/issues/370>`_:
Enable @font-face on MacOS.
+ Bug fixes:
* `#389 <https://github.com/Kozea/WeasyPrint/issues/389>`_:
Always update resume_at when splitting lines.
* `#394 <https://github.com/Kozea/WeasyPrint/issues/394>`_:
Don't build universal wheels.
* `#388 <https://github.com/Kozea/WeasyPrint/issues/388>`_:
Fix logic when finishing block formatting context.
- Update to Version 0.32
+ New features:
* `#28 <https://github.com/Kozea/WeasyPrint/issues/28>`_:
Support @font-face on Linux.
* Support CSS fonts level 3 almost entirely, including OpenType features.
* `#253 <https://github.com/Kozea/WeasyPrint/issues/253>`_:
Support presentational hints (optional).
* Support break-after, break-before and break-inside for pages and columns.
* `#384 <https://github.com/Kozea/WeasyPrint/issues/384>`_:
Major performance boost.
+ Bux fixes:
* `#368 <https://github.com/Kozea/WeasyPrint/issues/368>`_:
Respect white-space for shrink-to-fit.
* `#382 <https://github.com/Kozea/WeasyPrint/issues/382>`_:
Fix the preferred width for column groups.
* Handle relative boxes in column-layout boxes.
+ Documentation:
* Add more and more documentation about Windows installation.
* `#355 <https://github.com/Kozea/WeasyPrint/issues/355>`_:
Add fonts requirements for tests.
- Update to Version 0.31
+ New features:
* `#124 <https://github.com/Kozea/WeasyPrint/issues/124>`_:
Add MIME sniffing for images.
* `#60 <https://github.com/Kozea/WeasyPrint/issues/60>`_:
CSS Multi-column Layout.
* `#197 <https://github.com/Kozea/WeasyPrint/pull/197>`_:
Add hyphens at line breaks activated by a soft hyphen.
+ Bux fixes:
* `#132 <https://github.com/Kozea/WeasyPrint/pull/132>`_:
Fix Python 3 compatibility on Windows.
+ Documentation:
* `#329 <https://github.com/Kozea/WeasyPrint/issues/329>`_:
Add documentation about installation on Windows.
- Update to Version 0.30
+ Bux fixes:
* Fix Acid2
* `#325 <https://github.com/Kozea/WeasyPrint/issues/325>`_:
Cutting lines is broken in page margin boxes.
* `#334 <https://github.com/Kozea/WeasyPrint/issues/334>`_:
Newest html5lib 0.999999999 breaks rendering.
- Update to Version 0.29
+ Bug fixes:
* `#263 <https://github.com/Kozea/WeasyPrint/pull/263>`_:
Don't crash with floats with percents in positions.
* `#323 <https://github.com/Kozea/WeasyPrint/pull/323>`_:
Fix CairoSVG 2.0 pre-release dependency in Python 2.x.
- Update to Version 0.28
+ Bug fixes:
* `#189 <https://github.com/Kozea/WeasyPrint/issues/189>`_:
``white-space: nowrap`` still wraps on hyphens
* `#305 <https://github.com/Kozea/WeasyPrint/issues/305>`_:
Fix crashes on some tables
* Don't crash when transform matrix isn't invertible
* Don't crash when rendering ratio-only SVG images
* Fix margins and borders on some tables
- Update to Version 0.27
+ New features:
* `#295 <https://github.com/Kozea/WeasyPrint/pull/295>`_:
Support the 'rem' unit.
* `#299 <https://github.com/Kozea/WeasyPrint/pull/299>`_:
Enhance the support of SVG images.
+ Bug fixes:
* `#307 <https://github.com/Kozea/WeasyPrint/issues/307>`_:
Fix the layout of cells larger than their tables.
+ Documentation:
* The website is now on GitHub Pages, the documentation is on Read the Docs.
* `#297 <https://github.com/Kozea/WeasyPrint/issues/297>`_:
Rewrite the CSS chapter of the documentation.
- Update to Version 0.26
+ New features:
* Support the `empty-cells` attribute.
* Respect table, column and cell widths.
+ Bug fixes:
* `#172 <https://github.com/Kozea/WeasyPrint/issues/172>`_:
Unable to set table column width on tables td's.
* `#151 <https://github.com/Kozea/WeasyPrint/issues/151>`_:
Table background colour bleeds beyond table cell boundaries.
* `#260 <https://github.com/Kozea/WeasyPrint/issues/260>`_:
TypeError: unsupported operand type(s) for +: 'float' and 'str'.
* `#288 <https://github.com/Kozea/WeasyPrint/issues/288>`_:
Unwanted line-breaks in bold text.
* `#286 <https://github.com/Kozea/WeasyPrint/issues/286>`_:
AttributeError: 'Namespace' object has no attribute 'attachments'.
- Update to Version 0.25
+ New features:
* Support the 'q' unit.
+ Bug fixes:
* `#285 <https://github.com/Kozea/WeasyPrint/issues/285>`_:
Fix a crash happening when splitting lines.
* `#284 <https://github.com/Kozea/WeasyPrint/issues/284>`_:
Escape parenthesis in PDF links.
* `#280 <https://github.com/Kozea/WeasyPrint/pull/280>`_:
Replace utf8 with utf-8 for gettext/django compatibility.
* `#269 <https://github.com/Kozea/WeasyPrint/pull/269>`_:
Add support for use when frozen.
* `#250 <https://github.com/Kozea/WeasyPrint/issues/250>`_:
Don't crash when attachments are not available.
- Implement single-spec version
-------------------------------------------------------------------
Sat Nov 7 03:10:02 UTC 2015 - jacobwinski@gmail.com
- Update to 0.24:
+ New features:
* Basic support for Named strings.
+ Bug fixes:
* Draw rounded corners on replaced boxes.
* Rely on the font size for rounding bug workaround.
* Honor the vertical-align property in fixed-height cells.
* Remove unreachable area/border at bottom of page.
* Don't allow unknown units during line-height validation.
* Fix some wrong conflict resolutions for table borders with inset
and outset styles.
- Update to 0.23:
+ Bug fixes:
* Use the default image sizing algorithm for imagess preferred size.
* Try more library aliases with ``dlopen()``.
* Consider ``page-break-after-avoid`` when pushing floats to the next page.
* Avoid a crash on zero-sized background images.
- Update to 0.22:
+ New features:
* Support gzip and deflate encoding in HTTP responses
* Support for PDF attachments.
+ Bug fixes:
* Fix a crash on percentage-width columns in an auto-width table.
* Make ``<fieldset>`` a block in the user-agent stylesheet.
* Fix some ``dlopen()`` library loading issues on OS X.
* Break to the next page before a float that would overflow the page.
* Require a recent enough version of Pyphen
- Update to 0.21:
+ New features:
* Add the `overflow-wrap <http://dev.w3.org/csswg/css-text/#overflow-wrap>`_
property, allowing line breaks inside otherwise-unbreakable words.
* Add the `image-resolution property,
allowing images to be sized proportionally to their intrinsic size
at a resolution other than 96 image pixels per CSS ``in``
(ie. one image pixel per CSS ``px``)
+ Bug fixes:
* Fix parsing HTML from an HTTP URL on Python 3.x
* Use more general hyphenation dictionnaries for specific document languages.
* (E.g. use ``hyph_fr.dic`` for ``lang="fr_FR"``.)
* Fix ``min-width`` and ``max-width`` on floats.
* Fix a crash on trailing whitespace with ``font-size: 0``
* Borders on tables with ``border-collapse: collapse`` were sometimes
* drawn at an incorrect position.
* Fix positioning of images with ``position: absolute``.
* Fix a crash when using ``position: absolute``
inside a ``position: relative`` element.
* Fix ``visibility: collapse`` to behave like ``visibility: hidden``
on elements other than table rows and table columns.
* Fix dependencies to require lxml 3.0 or a more recent version.
* Fix a crash on percentage-sized table cells in auto-sized tables.
- Update to 0.20.2:
+ Bug fixes:
* When drawing really small boxes with dotted/dashed borders
- Update to 0.20.1:
+ Bug fixes:
* Depend on html5lib >= 0.99 instead of 1.0b3 to fix pip 1.4 support.
space followed by dot at line break.
border-style: ridge/groove/inset/outset.
- Update to 0.20:
+ Bug fixes:
* Add support for ``border-radius``.
metadata from HTML.
* Tables: handle percentages for column groups, columns and cells, and values
for row height.
+ Bug fixes:
* Stylesheets are not available.
* Instead of page numbers in PDF bookmarks.
* Use ``logger.warning`` instead of deprecated ``logger.warn``.
* Add 'font-stretch' in the 'font' shorthand.
- Update to 0.19.2:
+ Bug fixes:
* ``text-decoration: overline`` not being drawn above the text
* Bug fix: Actually draw multiple lines when multiple values are given
to ``text-decoration``.
* Use the font metrics for text decoration positioning.
* Bug fix: Don't clip the border with ``overflow: hidden``.
* Regression: JPEG images not loading with cairo 1.8.x.
- Update to 0.19.1:
+ Bug fixes:
* Fix incorrect intrinsic width calculation
leading to unnecessary line breaks in floats, tables, etc.
* Tweak border painting to look better
* Fix unnecessary page break before big tables.
* Fix table row overflowing at the bottom of the page
when there are margins above the table.
* Fix ``position: fixed`` to actually repeat on every page.
repeat ``<thead>`` and ``<tfoot>`` elements on every page,
even with table border collapsing.
- Update to 0.19:
+ Bug fixes:
* Add support for ``linear-gradient()`` and ``radial-gradient``
in background images.
* Add support for the ``ex`` and ``ch`` length units.
(``1ex`` is based on the font instead of being always ``0.5em`` as before.)
* Add experimental support for Level 4 hyphenation properties.
* Drop support for CFFI < 0.6 and cairocffi < 0.4.
* Many bug fixes, including:
min/max-width/height on block-level images.
Crash when parsing nested functional notation.
- Update to 0.18:
+ New features:
* Add support for Level 3 backgrounds,
including multiple background layers per element/box.
* Forward-compatibility with (future releases of) cairocffi 0.4+ and CFFI 0.6+.
+ Bug fixes:
* Avoid some unnecessary line breaks
for elements sized based on their content (aka. “shrink-to-fit”)
such as floats and page headers.
* Allow page breaks between empty blocks.
* Resolve images auto width from non-auto height and intrinsic ratio.
* The ``data:`` URL scheme is case-insensitive.
* Crash when backtracking for ``break-before/after: avoid``.
- Update to 0.17.1:
+ Bug fixes:
* GObject initialization when GDK-PixBuf is not installed.
* Absolute URLs without a base URL (ie. document parsed from a string.)
* Fix some whitespace collapsing bugs.
* Fix absolutely-positioned elements inside inline elements.
* Fix URL escaping of image references from CSS.
* Division by 0 on dashed or dotted border smaller than one dot/dash.
* Bad interaction of ``page-break-before/after: avoid`` and floats.
- Update to 0.17:
+ New features:
* Added `text hyphenation`_ with the ``-weasy-hyphens`` property.
* When a document includes JPEG images, embed them as JPEG in the PDF output.
* Switched to using CFFI instead of PyGTK or PyGObject-introspection.
+ Bug fixes:
* Correctly trim whitespace at the end of lines.
* Fix some cases with floats within inline content.
-------------------------------------------------------------------
Thu Oct 24 11:16:55 UTC 2013 - speilicke@suse.com
- Require python-setuptools instead of distribute (upstreams merged)
-------------------------------------------------------------------
Wed Jan 16 17:30:45 UTC 2013 - alexandre@exatati.com.br
- Initial package (0.16) for openSUSE.