Closed slauriere closed 3 years ago
The problem seems to be that for Chrome the page is not scaled automatically at print step. On Firefox, the setting "Fit to page width" is set by default. Such a setting is not present on Chrome, but you can set Settings -> More settings -> Scale to a Custom width, with the value 89 for example, and this will lead to the same result as in the other browser. Note that this scale will be available for all prints until it is changed back.
Steps to reproduce
Actual result
Diagram page
Diagram page print preview on Chrome
Diagram page print preview on Firefox
Expected result
Workaround
Bypassing the dynamic sizing mechanism of the application by displaying the diagram as an image pointing at the generated SVG file allows to obtain the expected result on Ctrl+P on Chrome (an option is then to include that
img
element in the standard diagram sheet with a@media print
rule displaying it only on print, while the diagram viewer should then get hidden on print (class="hidden-print"
)).Diagram print preview on Chrome with workaround
Environment
See also
178