You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Report: Cyrillic Font Issue in Diagram Preview
Description:
When creating diagrams using Cyrillic fonts in the Draw.io application, an issue occurs where the text appears corrupted or misencoded in the preview mode. However, the text displays correctly when the diagram is opened in the editor. This issue only affects the preview and does not impact the text in the editor view.
Steps to Reproduce:
Create a new diagram in Draw.io.
Use Cyrillic fonts or text within the diagram.
Save the diagram and switch to preview mode.
Expected Result:
The text in Cyrillic fonts should appear correctly and consistently in both the editor and preview modes.
Actual Result:
The text appears corrupted or misencoded in the preview mode, while it displays correctly in the editor mode.
Screenshots:
Diagram with Cyrillic fonts in edit mode:
Screenshot of the corrupted preview:
Additional Information:
Issue occurs only in the preview mode.
The editor view displays the text correctly.
Severity:
Moderate — affects the usability of the preview feature for diagrams containing Cyrillic text.
Suggested Fix:
Investigate the encoding or rendering process used in the preview mode. Maybe base64 svg import as blob converting is wrong.
Activity
xseth03 commentedon Sep 24, 2024
Hi,
Same issue with latin font :

Servostar commentedon Oct 3, 2024
The issue happens due to an encoding error. Drawio makes use of UTF-8, while the client decodes to Latin-1, messing up non-ASCII characters.
Philipinho commentedon Oct 10, 2024
Fixed. Thanks to @Servostar.
Merge pull request 'test(docmost#244): Part B backlog — editor-ext/mc…
test(docmost#244): cover dictation ordered-emitter + internal-link pa…