How to increase the font size of listfonts output?

0 votes
asked Sep 9, 2021 in Question / help by dragondive (500 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, 2021 by The-Lu (64,760 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, 2021 by dragondive (500 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.
...