textLength error in plantuml
See original GitHub issuePOST
: https://kroki.io/plantuml/svg
JSON:
{
"diagram_source": "@startmindmap\n * 为啥重合\n @endmindmap",
"diagram_type": "plantuml",
"output_format": "svg"
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Syntax Error inside map, but works on the online webservice
I'm trying to use plantuml inside java ...
Read more >Recent questions and answers in Bug - PlantUML Q&A
Recent questions and answers in Bug. 0 votes. 0 answers. Entity relationship link is not displayed correctly when creole tree view syntax is...
Read more >Text Encoding format - PlantUML
An special encoding format that contains only characters valid in URL has been defined. Using this format, it's possible to fully encode a...
Read more >Frequently Asked Questions - PlantUML
PlantUML is used to draw UML diagrams, using a simple and human readable text ... You can have a look on this page...
Read more >Sequence Diagram syntax and features - PlantUML
PlantUML sequence diagram syntax: You can have several kinds of participants (actors and others), arrows, notes, groups... Changing fonts and colors is also ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The root cause is that the Docker image (based on Alpine) does not include a (sans-serif) Chinese font. I found this package (available only in the edge channel): https://pkgs.alpinelinux.org/package/edge/testing/x86_64/wqy-zenhei It can be installed using:
Once this package is installed, the
textLength
is correct.Thanks for clarifying! kroki.io is not using the same version as www.plantuml.com (i.e., we are using v1.2021.0 whereas www.plantuml.com is using v1.2021.2beta2) but it does not seem to explain why the
textLength
is incorrect.I will investigate 🔍