Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdf export breaks Thai text #4316

Closed
2 tasks done
Co9ski opened this issue Apr 7, 2024 · 3 comments
Closed
2 tasks done

pdf export breaks Thai text #4316

Co9ski opened this issue Apr 7, 2024 · 3 comments

Comments

@Co9ski
Copy link

Co9ski commented Apr 7, 2024

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug
A text in Thai language gets corrupted when exported into PDF format, particularly when dealing with glyph(s) above or below a consonant glyph.

To Reproduce
Steps to reproduce the behavior:

  1. have some Thai text present in the file.
  2. Go to 'file > export as > PDF'
  3. tick 'crop', click 'Export'
  4. Use any pdf reader to check the text embedded in the print.

Expected behavior
Thai text gets partially corrupted. Space added and characters repeated a few times around the affected combination of glyphs.

Screenshots
image

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 24.2.2

Desktop (please complete the following information):

  • OS: Ultramarine Linux (Fedora-based)
  • Browser Firefox for Fedora (tested on google chrome: same issue)
  • Browser Version 121.04

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • yes

Additional context
Some emoji failed to display, but the embedded works.

@davidjgraph
Copy link
Collaborator

Please attach a diagram that recreates the issue.

@davidjgraph davidjgraph added the blocked/need-repo Requires a complete test case that reproduces the problem label Apr 8, 2024
@Co9ski
Copy link
Author

Co9ski commented Apr 28, 2024

github won't let me paste xml files. i hope this will do
https://drive.google.com/file/d/1_N83rP1nIpQLJpuf3Ygq1m8JDSWqKp9N/view?usp=sharing

@davidjgraph
Copy link
Collaborator

I would try print to PDF instead instead. I assume you're using a specific font family that the export server doesn't have installed.

@davidjgraph davidjgraph removed the blocked/need-repo Requires a complete test case that reproduces the problem label May 7, 2024
@davidjgraph davidjgraph closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants