Finding out what characters a given font supports

前端 未结 12 1555
你的背包
你的背包 2020-11-30 22:24

How do I extract the list of supported Unicode characters from a TrueType or embedded OpenType font on Linux?

Is there a tool or a library I can use to process a .tt

12条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-30 22:54

    The X program xfd can do this. To see all characters for the "DejaVu Sans Mono" font, run:

    xfd -fa "DejaVu Sans Mono"
    

    It's included in the x11-utils package on Debian/Ubuntu, xorg-x11-apps on Fedora/RHEL, and xorg-xfd on Arch Linux.

提交回复
热议问题