jakartaee / jakartaee-tutorial

Jakarta EE Tutorial Content
https://jakartaee.github.io/jakartaee-documentation/jakartaee-tutorial/current/
Eclipse Public License 2.0
18 stars 22 forks source link

draw.io SVG images aren't rendering properly in PDFs #85

Open kito99 opened 10 months ago

kito99 commented 10 months ago

The SVG version of newer diagrams that were recently added (see /src/modules/intro/images and /src/modules/security/images) look fine in a browser, but don't render properly in PDF format. See: https://jakartaee.github.io/jakartaee-documentation/jakartaee-tutorial/10/jakarta-ee-tutorial.pdf. We need to figure out what it is about the images that's causing the problem. I suspect it's the fact that I saved them via the "Editable SVG" feature rather than exporting as SVG (which offers more features). Here are the details from the contribution guide that explain how they were generated:

Diagram requirements

NOTE: I tried changing the font to something boring like Helvetica. This worked better, but still didn't turn out right.

rmccrear commented 6 months ago

Hi, I'd love to pick up this issue. @kito99

rmccrear commented 6 months ago

I think I've found the issue. You have to Export as SVG. Don't just Save as... in drawio. (As you suspected.)

kito99 commented 4 weeks ago

@rmccrear is this one ready to review?