As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
when I access the restful api: runtime/process-instance/{process-instanceid}}/diagram
why the diagram can't display Chinese character well?how to fixed it ? thanks.
so does the app-admin war.
There might be several problems here.
Which version are you using?
One problem might be the default encoding of the JVM where you are running activiti. Are you changing the encoding?
Can you check which encoding are you using?
the version is 6.0.0
I didn't change the default encoding of the jvm;
but the activiti-app can display chinese well in web page.
i have searched on the internet that it may be the default font problem.
can you tell me how to configure the font name when the process diagram generated?
Hi Dylan, that's probably in this project: Activiti/modules/activiti-image-generator at 6.x · Activiti/Activiti · GitHub
Not sure if the font is configurable, but that sounds like a great community contribution.
Hope that helps.
I have found the source code to change font name.but it's not configurable.
I have just change the font name from "Arial " to "宋体" in the class "
ProcessEngineConfiguration".
Thank you for advice.