Search code examples
macosfontsimagemagick-convert

How to use ImageMagick with Chinese fonts on Text to Image Handling


I try to use ImageMagick to handle a Chinese character to a image on my MacBook.

I use command to check the Chinese fonts available on my system.

convert -list font | grep Font

I did not get any.

Seen from the ImageMagick guide Text to Image Handling, Chinese font seems like supported , such as ZenKaiUni

And seen from the application Font Album of my MacBook. There are so many Chinese fonts.

I think it is OK. How to figure it out?


Solution

  • You can't do it in ImagMagick as the font information it uses doesn't include language support, but it's easy with Font Book.app by creating a Smart Collection as follows:

    enter image description here

    On my Mac I have 35 fonts which include Chinese characters.

    enter image description here

    (The dimmed/greyed fonts are available but will need to be downloaded from Apple servers before I can use them, an automatic process done when selecting those fonts in any app.)