Homebrew / homebrew-cask-fonts

πŸ’€ Casks of οΌ¦πŸ…Ύπ“π“πš‚ (deprecated)
https://brew.sh
2.86k stars 464 forks source link

Fonts installed aren't showing up in Applications or Font Book #8386

Closed gekitsuu closed 1 year ago

gekitsuu commented 1 year ago

Verification

Description of issue

I have installed a few fonts such as:

The command to install them doesn't fail, it looks like everything succeeded. I can see the files in $HOME/Library/Fonts but I can't see them in the "Font Book" app or other apps where I would expect to see them show up.

I am running Ventura 13.6 (22G120) on an Apple M1 MacBook Pro. In Font Book I also checked the box to show "Third-party managed fonts" but I still don't see them.

Command that failed

The command doesn't fail see below for an example

Output of command with --verbose --debug

❯ brew install font-fira-code-nerd-font
==> Downloading https://formulae.brew.sh/api/formula.jws.json

==> Downloading https://formulae.brew.sh/api/cask.jws.json

==> Downloading https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/FiraCode.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/27574418/9c9d39ce-f099-455c-94b8-b8f0864b8c5e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=2
######################################################################################################################################################################################################################################################### 100.0%
==> Installing Cask font-fira-code-nerd-font
==> Moving Font 'FiraCodeNerdFontPropo-SemiBold.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontPropo-SemiBold.ttf'
==> Moving Font 'FiraCodeNerdFont-Light.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFont-Light.ttf'
==> Moving Font 'FiraCodeNerdFont-Medium.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFont-Medium.ttf'
==> Moving Font 'FiraCodeNerdFont-Regular.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFont-Regular.ttf'
==> Moving Font 'FiraCodeNerdFont-Retina.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFont-Retina.ttf'
==> Moving Font 'FiraCodeNerdFont-SemiBold.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFont-SemiBold.ttf'
==> Moving Font 'FiraCodeNerdFontMono-Bold.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontMono-Bold.ttf'
==> Moving Font 'FiraCodeNerdFontMono-Light.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontMono-Light.ttf'
==> Moving Font 'FiraCodeNerdFontMono-Medium.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontMono-Medium.ttf'
==> Moving Font 'FiraCodeNerdFontMono-Regular.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontMono-Regular.ttf'
==> Moving Font 'FiraCodeNerdFontMono-Retina.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontMono-Retina.ttf'
==> Moving Font 'FiraCodeNerdFontMono-SemiBold.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontMono-SemiBold.ttf'
==> Moving Font 'FiraCodeNerdFontPropo-Bold.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontPropo-Bold.ttf'
==> Moving Font 'FiraCodeNerdFontPropo-Light.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontPropo-Light.ttf'
==> Moving Font 'FiraCodeNerdFontPropo-Medium.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontPropo-Medium.ttf'
==> Moving Font 'FiraCodeNerdFontPropo-Regular.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontPropo-Regular.ttf'
==> Moving Font 'FiraCodeNerdFontPropo-Retina.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFontPropo-Retina.ttf'
==> Moving Font 'FiraCodeNerdFont-Bold.ttf' to '/Users/adamglenn/Library/Fonts/FiraCodeNerdFont-Bold.ttf'
🍺  font-fira-code-nerd-font was successfully installed!

Output of brew doctor and brew config

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  md5sha1sum

❯ brew config
HOMEBREW_VERSION: 4.1.13-43-gb4274c8
ORIGIN: https://github.com/Homebrew/brew
HEAD: b4274c8e00b18f505d3192042a1f321f368f4c36
Last commit: 4 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: c3d5f19331d19bc7a396320a93f9a9485d6cec98
Core tap last commit: 23 minutes ago
Core tap branch: master
Core tap JSON: 27 Sep 16:45 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_REPOSITORY: /opt/homebrew/Homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: vim
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_NO_ENV_HINTS: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.42.0 => /opt/homebrew/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 13.6-arm64
CLT: 15.0.0.0.1.1694021235
Xcode: N/A
Rosetta 2: false

Output of brew tap

❯ brew tap
buildpacks/tap
hashicorp/tap
homebrew/bundle
homebrew/cask
homebrew/cask-fonts
homebrew/cask-versions
homebrew/core
homeport/tap
gekitsuu commented 1 year ago

I figured it out. It was because I had created $HOME/Library/Fonts as a symlink, and even though it wasn't broken, the apps wouldn't follow the symlink.