hallvard / plantuml

Embed UML diagrams in files and view them in Eclipse
http://plantuml.sourceforge.net/
209 stars 57 forks source link

Scaling preview results in pixel #94

Closed SieDa closed 4 years ago

SieDa commented 5 years ago

Scaling the created diagram in the preview area results in pixels on fonts and lines and sometimes is hard to read in different than 100% presentations. Why does that happen, as the result of an export is always perfect, especially the svg output is able to scale up. I added a simple example. Is this related to eclipse or just how plantuml works or "just" using the wrong stuff to show (SVG)? grafik grafik

On top, sometimes it would be nice to have an additional scale button for the page-width / -height.

hallvard commented 5 years ago

We only scale the generated png image (pixels), we don't generate SVG and (re)render.

hallvard commented 4 years ago

We could provide an SVG viewer instead of using the image. But that should go into another issue.

hallvard commented 3 years ago

This is something I'm considering. A very simple solution is to provide a web-based viewer in an embedded browser component, that can show the svg. This shouldn't be much work, at least not for the single diagram case.