jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
41.03k stars 7.62k forks source link

Blurry emojis in PNG #4705

Open fkohrt opened 3 hours ago

fkohrt commented 3 hours ago

Preflight Checklist

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

Diagrams with emojis exported to PNG look blurred at high resolution.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new diagram with a text field containing ⚠️.
  2. Export it as PNG at a high resolution (e.g., 300%)
  3. Obtain a blurred warning sign

Expected behavior

A crispy warning sign.

Screenshots

Untitled Diagram drawio

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

Desktop (please complete the following information):

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

Additional context

Well, this is the issue that led me to the issue tracker and made me discover the license change.

davidjgraph commented 3 hours ago

That would be the expected behaviour for me, it's a raster image. If you search for "alert" in the shapes, there are vector alerts.

fkohrt commented 3 hours ago

I see – I managed to work around it by exporting as SVG and screenshoting a zoomed version in the browser. So I thought this should be solvable in principle.