Continuous underline for parts of text with different format?

0 votes
asked Jul 2, 2023 in Question / help by joxi

@startuml
class "test <u>underline <b>plus bold</b></u>"
@enduml

The space between "underline" and "plus" is not underlined, even though both words are enclosed in the same u-tag.

I would like to have that space underlined as well. (I would also like to have all the underlines at the same height such that there is no visual interruption between the bold and non-bold parts.)

Is this possible? 

commented Jul 2, 2023 by albert (3,580 points)
Which version of plantuml are you using?

When running on the plantuml web server (http://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000) I get a version that looks OK to me.

(version is 1.2023.10beta2
commented Jul 2, 2023 by joxi (100 points)

I'm using the latest release, 1.2023.9. I'm using it inside of PyCharm IDE, using "PlantUML Integration" plugin.

commented Jul 2, 2023 by albert (3,580 points)

Strange, locally I also had a 1.2023.9 on this gave also the good result.

commented Jul 2, 2023 by joxi (100 points)

I was wondering whether particular fonts had anything to do with it, but on the webserver all fonts work:
http://www.plantuml.com/plantuml/uml/1S7X2G0X20RG_qqXBT028groaGU1sP5--zzxFVAvYMt5LkHxF8DgQYGn13xrsd8b7l8PWiQnoMq8DqWjNNrYsmy0

Whereas in the IDE, all fonts have the broken underline:

commented Jul 3, 2023 by joxi (100 points)
In any case, since this is just a behavior of PyCharm's renderer, I'm gonna consider this question solved.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...