How to increase the font size of listfonts output?

0 votes
asked Sep 9 in Question / help by dragondive (300 points)
The output of listfonts is too tiny to read, even after zooming. I tried using `skinparam dpi` and `scale` options as described here https://forum.plantuml.net/189/ouptut-image-resolution, but both result in parsing error.

I also tried increasing PLANTUML_LIMIT_SIZE, but the output is still the same size. Enclosing the `listfonts` command in <size> tag also doesn't parse (as I expected, but it was worth a try).

How can I increase the font size of the `listfonts` output?

1 Answer

+1 vote
answered Sep 9 by The-Lu (31,200 points)

Hello D.,

In conjunction of PLANTUML_LIMIT_SIZE, a possible workaround is to use:

listfonts <size:30>This is a test

Here is a result:

And adjust the PLANTUML_LIMIT_SIZE in order to see the full PNG output.

If that can help,
Regards,
Th.

commented Sep 10 by dragondive (300 points)
Thanks, this workaround is helpful. It would be nice if the font name is also of the same size, but this workaround is also good enough.
...