mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-30 10:43:16 +03:00
Merge pull request #1623 from radarhere/documentation
Added release notes for 3.1.0
This commit is contained in:
commit
a1699a50ee
|
@ -48,7 +48,7 @@ master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'Pillow (PIL Fork)'
|
project = u'Pillow (PIL Fork)'
|
||||||
copyright = u'1995-2015, Fredrik Lundh and Contributors, Alex Clark and Contributors'
|
copyright = u'1995-2016, Fredrik Lundh and Contributors, Alex Clark and Contributors'
|
||||||
author = u'Fredrik Lundh and Contributors, Alex Clark and Contributors'
|
author = u'Fredrik Lundh and Contributors, Alex Clark and Contributors'
|
||||||
|
|
||||||
# The version info for the project you're documenting, acts as replacement for
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
|
|
23
docs/releasenotes/3.1.0.rst
Normal file
23
docs/releasenotes/3.1.0.rst
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
|
||||||
|
3.1.0
|
||||||
|
=====
|
||||||
|
|
||||||
|
ImageDraw arc, chord and pieslice can now use floats
|
||||||
|
----------------------------------------------------
|
||||||
|
|
||||||
|
There is no longer a need to ensure that the start and end arguments for `arc`,
|
||||||
|
`chord` and `pieslice` are integers.
|
||||||
|
|
||||||
|
Note that these numbers are not simply rounded internally, but are actually
|
||||||
|
utilised in the drawing process.
|
||||||
|
|
||||||
|
Consistent multiline text spacing
|
||||||
|
---------------------------------
|
||||||
|
|
||||||
|
When using the ImageDraw multiline methods, the spacing between lines was
|
||||||
|
inconsistent, based on the combination on ascenders and descenders.
|
||||||
|
|
||||||
|
This has now been fixed, so that lines are offset by their baselines, not the
|
||||||
|
absolute height of each line.
|
||||||
|
|
||||||
|
There is also now a default spacing of 4px between lines.
|
|
@ -6,6 +6,7 @@ Release Notes
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
3.1.0
|
||||||
3.0.0
|
3.0.0
|
||||||
2.8.0
|
2.8.0
|
||||||
2.7.0
|
2.7.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user