epam / epam/Indigo

Image export - font size issue

Open
#3,689 1 comment 0 reactions 0 assignees View on GitHub
Export to SVG/PNG Priority: Low Severity: Low User`s Feedback
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
1. Draw a structure.
2. Add a text label (H+ here)
3. Select the text and change its font size.
4. Press Ctrl+S.
5. Save/export as SVG or picture.

**Actual behavior**
The exported image does not match what is displayed on the canvas/preview.
The text label is shifted and/or resized incorrectly in the exported file.
In my example, `H+` appears correctly positioned in Ketcher, but in the exported image it is moved and does not preserve the canvas layout.

**Expected behavior**
The exported image should match exactly what is visible in the Ketcher canvas/preview, including text size and position.

**Screenshots**

Image

Image

**Desktop (please complete the following information):**
- OS: Linux Mint
- Browser [e.g. chrome, safari] - Firefox
- Version [e.g. 22]: 150.0 (but same issue on chrome)

**Ketcher version** [e.g. v3.12.0].
To determine it, hover over the header of the Ketcher tab in a browser.

**Test case**
Add test case number (in EPMLSOPKET-* format) if bug was found during test case run.

**Additional context**
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.