2

I've recently started to try out the pprof tools from golang. I have followed the link https://golang.org/pkg/net/http/pprof/ to add a new http server to my service so the profile is able to be accessed. All works fine, but when i try to generate a pdf or png output format, the text are all boxes as shown in the below image: enter image description here Is there any unicode libary that i need to install? My service is deployed using docker alpine image

Radhian Amri
  • 327
  • 1
  • 3
  • 11

1 Answers1

1

This is a common symptom of missing fonts.

Try installing the font-noto package:

apk add font-noto

For more information and hints about Alpine Linux Fonts, visit this Alpine Linux wiki page.

valiano
  • 16,433
  • 7
  • 64
  • 79