如何使所有字体显示示例字符串以进行比较?

Rob*_*mer 5 fonts

对于特定任务,我想选择合适的字体。为此,我想比较文本 \xe2\x80\x9cE G PM\xe2\x80\x9d 我安装的所有字体(甚至更多)。特别是字体的粗体(如果有的话)更可能符合我的要求。

\n\n

快速的视觉查看可能已经解决了 90% 的问题,因此我正在考虑查看系统上可用的不同字体的字符串列表。

\n\n

我尝试过的字体查看器/管理器无法胜任该任务。哪个应用程序可以在这里帮助我,或者我怎样才能快速解决我的问题?

\n\n

我尝试过的应用程序有:

\n\n
    \n
  • fontmatrix(来自安装在 Bionic 上的可信来源的二进制文件)\n\n
      \n
    • 版本0.6.0+svn20110930(0.9.99)
    • \n
    • 一个错误阻碍了您配置的文本的显示(始终显示字体名称)
    • \n
    • 它不显示列表中字体的粗体(只是常规)
    • \n
  • \n
  • 侏儒标本(也来自 trusty)\n\n
      \n
    • 您必须单独添加每个字体(点击 2-3 次)才能显示它们
    • \n
    • 您会看到替换的字体(如果字形不在字体中),而不会被警告/告知
    • \n
  • \n
  • fontypython 启动时崩溃
  • \n
  • fontmanager.app 在 i3 中无法使用
  • \n
  • g瀑布\n\n
      \n
    • 文本固定为 \xe2\x80\x9cLazydog...\xe2\x80\x9d
    • \n
    • 需要单独选择每种字体(至少点击 4 次)
    • \n
  • \n
  • 字体管理器\n\n
      \n
    • 有一个很棒的浏览模式,但在该模式下它不会\xe2\x80\x99显示您自己的文本(仅字体名称)
    • \n
  • \n
  • gnome-font-viewer 可以\xe2\x80\x99t 设置文本
  • \n
  • 类型捕捉器\n\n
      \n
    • 自定义文本,是的
    • \n
    • 仅显示每种字体的常规字体(即不是粗体或其他字体)
    • \n
    • 需要点击 1 次才能查看字体
    • \n
    • \xe2\x80\x99t 不显示系统字体(?),只有大量可供下载的字体
    • \n
  • \n
  • 选项\n\n
      \n
    • 可怕的用户界面
    • \n
    • \xe2\x80\x99t 在列表中不显示粗体字体(和其他字体)
    • \n
  • \n
  • 字体查看器\n\n
      \n
    • 使字体看起来很丑(做n\xe2\x80\x99t抗锯齿或其他什么)
    • \n
    • 没有清单,没有粗体字
    • \n
  • \n
  • kfontview\n\n
      \n
    • \xe2\x80\x99t 找不到系统字体本身(在字体文件上使用 \xe2\x80\x9cOpen...\xe2\x80\x9d 选择字体)
    • \n
    • 不\xe2\x80\x99t 做字体列表
    • \n
  • \n
  • 字体库\n\n
      \n
    • 是迄今为止最好的...
    • \n
    • 显示 \xe2\x80\x9cgoogle fonts\xe2\x80\x9d (这么多;找到有用的东西的机会很高?)
    • \n
    • 添加/usr/share为字体目录会使程序变慢
    • \n
    • 显示所有字体的自定义文本;易于滚动
    • \n
    • (单击错误的按钮将激活所有字体,无法返回到 \xe2\x86\x92 之前的选择,这不是标记字体以供将来参考的良好机制)
    • \n
  • \n
\n

Win*_*nix 3

gnome-terminal当您选择Edit-> Profile Preferences->时Custom Font

终端字体.png

然而,在我的系统上,它不会显示“EG PM”,尽管它会让你误以为它会显示。

  • gnome 字体选择器...在我的系统上,“gnome-terminal”将选择限制为等宽字体。我在“gnome-tweaks”中找到了相同的选择器(还有更多示例)。示例字符串(仅)应用于示例字符串输入框本身。 (2认同)

小智 -1

下面是 libreoffice 的一个小宏,它会询问您一个示例句子,并生成一个示例文件,其中包含系统中安装的所有字体以及字体名称。\n非常有用!

\n

只需将其复制并作为空 LibreOffice Writer 文档中的宏运行即可。\n此致。

\n
'********************************************************************************\n'Copyright (C) 2003 Laurent Godard - adaptation l\xc3\xa9g\xc3\xa8re P. Quaglia 2021\n'dev.godard@wanadoo.fr\n\n'This library is free software; you can redistribute it and/or\n'modify it under the terms of the GNU Lesser General Public\n'License as published by the Free Software Foundation; either\n'version 2.1 of the License, or (at your option) any later version.\n\n'This library is distributed in the hope that it will be useful,\n'but WITHOUT ANY WARRANTY; without even the implied warranty of\n'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n'Lesser General Public License for more details.\n'http://www.opensource.org/licenses/lgpl-license.php\n\n'You should have received a copy of the GNU Lesser General Public\n'License along with this library; if not, write to the Free Software\n'Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n'******************************************************************************\n\nSub ListingPolicesSystem()\n\n'**Sub Macro1 \n\nphrase=InputBox("phrase de test :","Liste des polices","Voix ambigu\xc3\xab d'un c\xc5\x93ur qui, au z\xc3\xa9phyr, pr\xc3\xa9f\xc3\xa8re les jattes de kiwis.") \n\noText=thisComponent.getText() \noCursor = oText.createTextCursor() \n\n'Liste des fontes \n\nDim oToolkit As Object \noToolkit = CreateUnoService("com.sun.star.awt.Toolkit") \nDim oDevice as Variant \noDevice = oToolkit.createScreenCompatibleDevice(0, 0) \nDim oFontDescriptors As Variant \noFontDescriptors = oDevice.FontDescriptors \nDim oFontDescriptor As Object \n\nthiscomponent.lockcontrollers \noCursor.string="Liste des polices install\xc3\xa9es sur le syst\xc3\xa8me"+chr(10)+chr(10)\nvalide=oCursor.gotoEnd(false)\nfor i= LBound(oFontDescriptors) to UBound(oFontDescriptors) \n    oCursor.CharFontName=oFontDescriptors(i).Name \n    oCursor.string=cstr(i)+". "+oFontDescriptors(i).Name+"  : " \n    valide=oCursor.gotoEnd(false) \n    oCursor.string=phrase+chr(10)\n    valide=oCursor.gotoEnd(false) \nnext i \nthiscomponent.unlockcontrollers \n\nEnd Sub \n
Run Code Online (Sandbox Code Playgroud)\n