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

CLI export to SVG/JPEG pixelates LaTeX render (exports smoothly in GUI) #1952

Open
jeremy-dolan opened this issue Jan 6, 2025 · 1 comment

Comments

@jeremy-dolan
Copy link

Originally posted by @jeremy-dolan in #1874 (comment)

Verified still an issue with today's 26.0.4 release.

Math exported via CLI appears pixelated (not anti-aliased on zoom), unlike exports from GUI.

CLI-export GUI-export
@davidjgraph davidjgraph added the issue template not filled Issue template not filled in, ignoring unless filled label Jan 6, 2025
@jeremy-dolan
Copy link
Author

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.

Describe the bug
/Applications/draw.io.app/Contents/MacOS/draw.io -x file.drawio -f svg

LaTeX math is rendered pixeled/un-anti-aliased. See screenshot above, note especially the 1/sqrt(d_head) towards the top to see the worst of it. CLI export on left, GUI export on right.

To Reproduce
Steps to reproduce the behavior:
CLI export of any document containing LaTeX

Expected behavior
Identical output to GUI

Screenshots
Above.

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

  • draw.io version 26.0.4

Desktop (please complete the following information):

  • OS: MacOS

Additional context
PDF export from CLI appears to render nicely. Both SVG and JPG export suffer from this poor text rendering issue.

@davidjgraph davidjgraph removed the issue template not filled Issue template not filled in, ignoring unless filled label Jan 6, 2025
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