解决方案:
在包扫描的包下面创建一个生成的流程图配置类

package cn.stylefeng.guns.modular.flowable.config;

import org.flowable.spring.SpringProcessEngineConfiguration;
import org.flowable.spring.boot.EngineConfigurationConfigurer;
import org.springframework.context.annotation.Configuration;

/**
* @Author: gblfy
* @Description: 为放置生成的流程图中中文乱码
* @Date: Create in 2019/11/03 10:26
*/
@Configuration
public class FlowableConfig implements EngineConfigurationConfigurer<SpringProcessEngineConfiguration> {
@Override
public void configure(SpringProcessEngineConfiguration springProcessEngineConfiguration) {
springProcessEngineConfiguration.setActivityFontName("宋体");
springProcessEngineConfiguration.setLabelFontName("宋体");
springProcessEngineConfiguration.setAnnotationFontName("宋体");
}
}

如果是linux,安装相应的字体即可
Linux 中文无法显示或显示方块