imagick
imagick copied to clipboard
Configuring fonts is terrible.
So apparently the urw-base35 fonts are hard-coded in ImageMagick in the file: https://github.com/ImageMagick/ImageMagick/blob/main/config/type-urw-base35.xml.in
On debian latest, the package fonts-urw-base35 the fonts are installed as otf files:
# ls -l /usr/share/fonts/opentype/urw-base35
total 3188
-rw-r--r-- 1 root root 103444 Jun 16 2020 C059-BdIta.otf
-rw-r--r-- 1 root root 100692 Jun 16 2020 C059-Bold.otf
-rw-r--r-- 1 root root 101324 Jun 16 2020 C059-Italic.otf
-rw-r--r-- 1 root root 97476 Jun 16 2020 C059-Roman.otf
-rw-r--r-- 1 root root 29832 Jun 16 2020 D050000L.otf
-rw-r--r-- 1 root root 87520 Jun 16 2020 NimbusMonoPS-Bold.otf
-rw-r--r-- 1 root root 89580 Jun 16 2020 NimbusMonoPS-BoldItalic.otf
-rw-r--r-- 1 root root 82648 Jun 16 2020 NimbusMonoPS-Italic.otf
-rw-r--r-- 1 root root 77936 Jun 16 2020 NimbusMonoPS-Regular.otf
...
...
Which means that ImageMagick doesn't find any fonts.
I don't know what needs to be done, but it shouldn't be this hard to use fonts.