I have a microservice which is integrated with Flowable. I have recently moved my service to docker. After moving microservice to docker we are not able to view the Flowable diagram having Chinese text properly. The image that is rendered is with only text characters in English. Chinese text which is part of the display text does not get rendered. We see boxes in place of Chinese characters.
I have the docker image created out of alpine-jdk8 with ttf-dejavu installed.
There are different ‘quirks’ with different Java base images and versions.
Have a look at ‘our’ Java8 base image;
Or the tested Java11 base image and the way we use it in our images.
RUN apk add --no-cache ttf-dejavu && rm -rf /var/cache/apk/*
I tried with adoptopenjdk/openjdk11:alpine-jre & adoptopenjdk/openjdk8:alpine-jre, without any success.
Do you have any related logging available? It’s hard to analyse the issue without any more info.
I had some success by following the solution mentioned in this link.