Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

potential fonts module issue #120

Closed
abathur opened this issue Jan 13, 2019 · 2 comments
Closed

potential fonts module issue #120

abathur opened this issue Jan 13, 2019 · 2 comments

Comments

@abathur
Copy link
Contributor

abathur commented Jan 13, 2019

I'm posting a little tentatively on the off chance someone else has insight that'll save me some debug time this evening. I was putzing around with the fonts module to test it out and copied in my font list from nixos (which included a handful of individual fonts, mostly code/mono, powerline, corefonts and vista-fonts).

It looked like I had this working, but a bit later I noticed Arial showing up on a few sites where it wasn't before (google.com, stack overflow). I haven't successfully fixed or debugged it yet, but I can imagine at least a few ways it could go awry. Example:

screen shot 2019-01-13 at 5 35 43 pm

@abathur
Copy link
Contributor Author

abathur commented Jan 14, 2019

I have an older macbook at home that is also on Mojave; I compared the /Library/Font directories just now and see what is causing the trouble. The one having trouble was missing (among a few others) a plain Arial.ttf that was present on the other system, so I guess Safari was substituting Arial Black.ttf in its place.

I copied this over and it started working fine again.

Reading around a bit turned up some suggestions that fontrestore is better at getting rid of new fonts than it is at restoring missing ones, so I suspect that corefonts' arial got linked over the existing copy, and then fontrestore removed the unrecognized copy on a subsequent rebuild.

@LnL7
Copy link
Owner

LnL7 commented Feb 17, 2019

We actually only run fontrestore in dryrun mode to see what it would remove. Not sure if we can fix this without removing and re-adding the fonts every time.

emilazy added a commit to emilazy/nix-darwin that referenced this issue Aug 3, 2023
emilazy added a commit to emilazy/nix-darwin that referenced this issue Aug 3, 2023
emilazy added a commit to emilazy/nix-darwin that referenced this issue Aug 4, 2023
347Online pushed a commit to 347Online/nix-darwin that referenced this issue Jun 16, 2024
kamushadenes pushed a commit to kamushadenes/nix-darwin that referenced this issue Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants