代码之家  ›  专栏  ›  技术社区  ›  Andreas

如何在Windows上查找所有字体路径

  •  0
  • Andreas  · 技术社区  · 5 年前

    我想查找包含Windows 10系统上安装的字体文件的所有路径。传统上,字体安装在 C:\Windows\Fonts 但显然,它们也可以安装在不同的目录中。

    Albertus Extra Bold 在Windows10上。当他开门的时候 阿尔伯特斯超大胆 并从上下文菜单中选择“属性”,对话框显示字体的*.ttf文件显然未安装在中 C:\Windows\Fonts C:\Users\Admin\AppData\Local\Microsoft\Windows\Fonts .

    那么我的应用程序应该简单地扫描吗 %USERPROFILE%\AppData\Local\Microsoft\Windows\Fonts 在上面 C:\Windows\Fonts

    0 回复  |  直到 5 年前
        1
  •  0
  •   Andreas    5 年前

    好吧,我想出来了:它似乎是Windows10的东西。当我双击Windows 7系统上的*.ttf文件并单击“安装”时,字体将安装在 C:\Windows\Fonts . 但是,在Windows 10上,执行相同操作将导致字体安装在 %USERPROFILE%\AppData\Local\Microsoft\Windows\Fonts