Has the plantuml feature -eps:text been removed?

0 votes
asked Apr 2, 2019 in Bug by R. Van Valkenburgh
I upgraded plantuml (from 2049), and find the using -eps:text (to have actual text using fonts in EPS file, rather than cairo curves).  After performing a manual binary search, I was able to determine that the functionality seems to have ceased functioning in 'plantuml.1.2019.3.jar', but works up to and including 'plantuml.1.2019.2.jar'.

I also checked the latest 'plantuml.1.2019.4.jar', and it does not work either.

The following MWE shows that the characters don't show up, at all, when executing the command line:

plantuml mwe-eps.pu -eps:text

This code will show a simple example:

@startuml

skinparam state {
  BackgroundColor<<blank>> transparent
  FontColor<<blank>> transparent
  BorderColor<<blank>> transparent
  BackgroundColor<<trusted>> LightGreen
  BackgroundColor<<untrusted>> Yellow
  BackgroundColor<<quarantine>> HotPink
  BackgroundColor<<remediate>> Pink
  FontName Arial
  AttributeFontname Monospaced
  AttributeFontsize 9
}
hide empty description

title MWE of command-line with -EPS:TEXT no longer working after plantuml.1.2019.2.jar

state "<i>1:n</i><b>TRUSTED</b>" as TRUSTED <<trusted>>
state "<i>1:n</i><b>UNTRUSTED</b>" as UNTRUSTED <<untrusted>>
state "Must <b>REMEDIATE</b>" as REMEDIATE <<remediate>>
state "Must <b>QUARANTINE</b>" as QUARANTINE <<quarantine>>

TRUSTED -do-> REMEDIATE: contain\nfor\n<b>remediation</b>
TRUSTED -do-> QUARANTINE: isolate\nin\n<b>quarantine</b>
UNTRUSTED -do-> REMEDIATE: contain\nfor\n<b>remediation</b>
UNTRUSTED -do-> QUARANTINE: isolate\nin\n<b>quarantine</b>

@enduml

I love this program, but would hate if it no longer will support this option.  It is the best way to create diagrams for EPS/PDF's!  Very nice program, though.

1 Answer

0 votes
answered Apr 2, 2019 by plantuml (295,800 points)
Thanks for the feedback.

It looks like a regression : we are going to investigate on this.

We'll post a message here when we'll have some news.

Regards,
commented Apr 2, 2019 by plantuml (295,800 points)
Ok, this is fixed in last beta http://beta.plantuml.net/plantuml.jar
Tell us if it's not working for you.
Thanks
commented Apr 24, 2019 by R. Van Valkenburgh
Oh , sorry.  I did not (yet) see this response.

Yes, indeed, I think you've got it.  Very nice!

There is nothing quite so good as vector graphics.  And postscript fonts are nice finishing touches for the vector graphics.  The same picture can be used in many different contexts without degrading.

Thank you very much.  You have saved the day!
...