useblocks / sphinx-simplepdf

A simple PDF builder for Sphinx documentations
https://sphinx-simplepdf.readthedocs.io
MIT License
36 stars 15 forks source link

Image in PDF overflows if `..figure` property is used #46

Closed sachin-suresh-rapyuta closed 8 months ago

sachin-suresh-rapyuta commented 1 year ago

Image overflows to the page right if ..figure is used:

.. figure:: ../images/user_doc/sui/Overview/overview.png
  :figclass: pa_amr_images_caption
  :alt: Overview

  Overview page

Output for figure: image

The same image is displayed properly for ..image:

 .. image:: ../images/System_UI/overview/overview.png
      :alt: Overview