-
All C4 diagrams have really weird spacing issues with text on lines. See screenshot below. I've tried different fonts but haven't had much luck on kerning/spacing between letters in words. It's so bad that sometimes it looks like a line of spaced out letters instead of words. I'm using the public Plant UML server for rendering diagrams. I was able to work around the issue by putting custom fonts on a dockerized version of PlantUML, but that won't work for my github workflow since I do not host my own server, nor do I want to. What is the fix for the font issue? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Hi @rcdailey, I did some trials. I assume you have problems with svg files (and not with png files). skinparam maxMessageSize 0 like e.g. @startuml
!include <C4/C4_Sequence>
skinparam maxMessageSize 0
Rel(a,a, "Perform the usual session auth")
@enduml Are my assumptions correct? I think the problem is in the svg rendering of plantuml: I I overlaid both diagrams in one svg file and then it's simpler to see the differences between the files I entered an issue in the forum, maybe they can change the PlantUML implementation (remove rounding or write all words combined). Best regards |
Beta Was this translation helpful? Give feedback.
-
Do you get better results with |
Beta Was this translation helpful? Give feedback.
-
If I understand you correctly then
a) Is your suggested solution is a different font? |
Beta Was this translation helpful? Give feedback.
-
Hi @rcdailey, PlantUML snapshot ~v1.2024.6beta12 includes MR set RenderingHints.VALUE_FRACTIONALMETRICS_ON. Can you test/compare the snapshot output with your old results and write some feedback if it looks better or not Thank you and best regards |
Beta Was this translation helpful? Give feedback.
In the meantime the online server is updated to v1.2024.6, so you can make all your (png) checks with the online server too.
BR Helmut