epam / epam/Indigo

Different fonts not supported on SVG/PNG export

Open
#3,719 1 comment 0 reactions 0 assignees View on GitHub
ACS standard Export to SVG/PNG Ljubica found bugs phase III Team G
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
1. Go to Ketcher micromolecules mode
2. Load this file: [FontsOnExport.zip](https://github.com/user-attachments/files/16311472/FontsOnExport.zip)
3. In settings choose any non-Arial font
![image](https://github.com/user-attachments/assets/19439d81-172a-4a0c-8aee-3bf98bc3f8b8)
4. Export to SVG/PNG

**Actual behavior**
Canvas:
![image](https://github.com/user-attachments/assets/53f78437-020d-4efa-850a-4573bc659a97)
PNG:
![image](https://github.com/user-attachments/assets/cd948874-5297-4643-9927-b3a86a61a224)
SVG:
![image](https://github.com/user-attachments/assets/7e01551c-e235-4d70-afda-461206840eaf)

**Expected behavior**
Different fonts should be supported on export to PNG/SVG.

**Ketcher version v2.23.0**

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem in Ketcher micromolecules mode with the attached FontsOnExport.zip, selecting a non-Arial font and exporting to SVG and PNG. Trace the export path from the settings-selected font and compare the canvas rendering with both exported outputs; done when the selected font is preserved in SVG and PNG exports.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.