OpenIconic <&minus> no longer properly aligned vertically, unlike the <&plus>

0 votes
asked Aug 27 in Bug by Ivo

Hi, in 2016 I made a series of diagrams, using Openiconic <&plus> and <&minus> for a visually nice and noticeable "heavy" representation of "+=" and "−=" operators in an activity diagram. At the time both the plus and the minus aligned nicely with the "=" vertically, making the intent obvious.
https://i.postimg.cc/6Qcz3m2z/2016-Minus-Aligned-With-Equals.png

However, when I regenerate the diagrams with today's version, the "minus" is no longer vertically aligned properly with the "=", unlike the "plus":

https://i.postimg.cc/JnhxB5j8/2024-No-Longer-Aligned.png​

Source:


:add further values into <color:DarkViolet>selectedContribs</color>:
   • journalistAssimDays <&plus>= <color:ForestGreen>assimDays</color>             <color:grey>// only if > 0</color>
   • specialContributionRemainder <&minus>= <color:ForestGreen>salary</color>    <color:grey>&#47;/ //subtract// !!!</color>;

This looks like a bug to me, did anyone else notice and is someone looking into this?

1 Answer

0 votes
answered Aug 28 by plantuml (295,720 points)
 
Best answer
Many thanks for the report!

This should be fixed in last snapshot https://github.com/plantuml/plantuml/releases/tag/snapshot

Tell us if it's not working for you!
commented Aug 29 by Ivo

Yes! In the ~v1.2024.7beta5 shapshot 2024-08-29 at 08:15:05 (UTC) it's much better again.
However, the minus is still just a teensy bit higher than before:
Snapshot: https://i.postimg.cc/fR33g8Qk/image.png
Original: https://i.postimg.cc/6Qcz3m2z/2016-Minus-Aligned-With-Equals.png

commented Aug 29 by plantuml (295,720 points)

On the online server, it looks fine :-(

@startuml
title example
start
:add further values into <color:DarkViolet>selectedContribs</color>:
   • journalistAssimDays <&plus>= <color:ForestGreen>assimDays</color>             <color:grey>// only if > 0</color>
   • specialContributionRemainder <&minus>= <color:ForestGreen>salary</color>    <color:grey>&#47;/ //subtract// !!!</color>;
@enduml

https://www.plantuml.com/plantuml/png/TOx1IWGn38RlynGPXBtMWo3CZcN5HUyUl6TdiXfDso59nRdvB3wQJw8i5aImn_Bb-x-TEQhN99sp2m6zOLg4kjDtD-0ymx6gFv72Aqeb0yvUO9oA51tsg2yFN8Gy6WbDJlDDoQvyi36Sa3Xq0F3v_W7FfMf6OVDhCqvxN0t6pIBLubNptHObypiboX4RrKpmwxM3HwKrXW0bomfyX0Zd3M-xjj34A3zTrRdaUqh8UIRz3aYS_oim5DIr-VwkRiukBhS1Gh1wSCN9Gu2-xnk-xNQKvvha2m00

Can you send us your full diagram text and on which config you are running PlantUML ?
Thanks

commented Aug 29 by Ivo
edited Aug 29

Hi, here's a link to the full diagram.
I'm running on Windows 10, from the jar.
Image as generated on my system by the plantuml-asl-SNAPSHOT.jar ~v1.2024.7beta5 shapshot 2024-08-29 at 08:15:05 (UTC):
https://i.postimg.cc/633fWVC4/Add-To-Journalist-Special-Contributions.png​

commented Sep 2 by plantuml (295,720 points)

We're still on it and we made some tests under Windows.

On our config, this is fine.

But this is not good.

Yes, the title is the only difference (both are working on the web server).

Can you tell us if the result on your config?

Thanks!

...