wrapWidth wraps punctuation when a font size is set?

0 votes
asked Nov 15 in Bug by polc1410 (160 points)
edited Nov 15 by polc1410

For example:

If I have a really really long sentence like this. When the wrap function wraps the paragraph, it treats a period as a space rather than a letter.

Like this:

If I have a really really long sentence like this

. When the wrap function wraps the paragraph

, it treats a period as a space rather than a 

letter.

But only with specific font size set

@startuml
skinparam wrapWidth 300
skinparam ActivityFontSize 10
skinparam NoteFontSize 10

start
:Hello world;
:Patients over 65 are elligible for pneumococcal vaccine! This is given as a single lifetime dose. Delay to allow optimal response.;
     note left #white
Patients over 65 are elligible for pneumococcal vaccine. This is given as a single lifetime dose. Delay to allow optimal response.
      end note
stop
@enduml

http://www.plantuml.com/plantuml/uml/hOunImH138Nx-HLFx8yJqUAkEK74IWG5wpYRsmrc9iDCTfVprxjkjRNuI9DyuV6TcbFrCMbeNv8BLKgOAvKFwNp0xNw_kJz4bqdyycJPt-IRSREbB-Qy9M5j3eTdLZNCLhKxXiChkN3s1fkuuluEL1ciAhryAkDi5INpc2nQZAIOA4R9V8NtGHgMwMNY36eWDCczCbJEx98OdJNUuP6LBd03gTeCAmiZHULMB2yFnu3VP7E6yjbnFG_Y7Fvejli_iu0rdBlLBZIt4axBEYRz0G00

1 Answer

0 votes
answered Nov 20 by plantuml (235,420 points)

Thanks for the report.

It should be fixed in last beta (1.2020.20beta14)  http://beta.plantuml.net/plantuml.jar

We will publish this new release in the incoming days.

...