-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Describe the bug
When generating a latex/pdf output figures get scaled up too much if the they have no size defined. Instead the image should only be scaled to its natural size (the size in px from the image file) or scaled to the page width if the image file size is too big.
To Reproduce
Rst file
.. figure:: /some/image.png
Caption.
.. figure:: /some/image.png
:width: 200px
Caption.
image.png is 200px wide.
Expected behavior
The results should be the same for the two images
Your project
https://svn.blender.org/svnroot/bf-manual/trunk/blender_docs/
Screenshots
If applicable, add screenshots to help explain your problem.
Environment info
- OS: Ubuntu
- Python version: 3.8
- Sphinx version: 3.2.1
- Sphinx extensions: none
- Extra tools:
texlive-xetex
latexmk