简体   繁体   English

有什么方法可以在 Linux 中查看字体的 PostScript 名称

[英]Is the any way to see PostScript name of font in Linux

I need to know the PostScript name of the .ttf font.我需要知道 .ttf 字体的 PostScript 名称。 I know that you can see that using MacOS' Font Book.我知道您可以使用 MacOS 的 Font Book 看到这一点。 But is there is a way to see that in Linux?但是有没有办法在 Linux 中看到它? Maybe some analogical utils that can display the PostScript name of the font?也许一些类比的工具可以显示字体的 PostScript 名称?

I need to know the PostScript name of the .ttf font.我需要知道 .ttf 字体的 PostScript 名称。

The "Linux gnu" command is $ fc-scan [TTF-font] , and one of the last lines will show postscriptname: "name" “Linux gnu”命令是$ fc-scan [TTF-font] ,最后一行将显示postscriptname: "name"

Example commands, and example reply示例命令和示例回复

$ fc-scan /usr/share/fonts/TTF/Vera.ttf

$ fc-scan /usr/share/fonts/TTF/Vera.ttf | grep postscriptname
          postscriptname: "BitstreamVeraSans-Roman"(s)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM