# 在 Windows 當中用 PowerShell 查找字型與更新字型清單 有時候需要在 R 或者 latex 當中調用系統字型,需要指定名稱。但文書軟體顯示的名稱,並不等於系統的字型檔案名稱,這時候就可以使用 `fc-list` 來查找字型。 ```{PowerShell}= fc-list "Noto Serif" fc-list | Select-String "song" | sort ``` 以上兩行 PowerShell 的程式碼,分別可以查找有 "NotoSerif" 開頭的思源系列襯線字體,以及尋找名稱含有 "song" 的字體,並且依照開頭字母順序排列。 如果安裝了新的字體,那可以使用 `fc-cache` 來更新字型的清單。 ```{PowerShell}= fc-cache -fv ``` 其中,`-f` 強制重建所有快取,而 `-v` 則可以顯示詳細過程。 <span style="font-size:30px">🐕🦺</span><font color="dcdcdc">2025.10.11</font>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up