04-19-2018 11:04 PM
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.
04-20-2018 12:27 PM
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?
04-22-2018 09:06 PM
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?
04-23-2018 06:10 AM
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.
04-23-2018 11:03 PM
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.
04-24-2018 08:32 AM
We will appreciate if you submit a PR with your fix to our Github repo, so other community members can benefit from that, it is also good to boost your community profile
Explore our Alfresco products with the links below. Use labels to filter content by product module.