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

Panic on Mac OS trying to read Apple Color Emoji #236

Open
samleibowitz opened this issue Mar 2, 2024 · 0 comments
Open

Panic on Mac OS trying to read Apple Color Emoji #236

samleibowitz opened this issue Mar 2, 2024 · 0 comments

Comments

@samleibowitz
Copy link

Background - I have just started getting into using silicon and nvim-silicon on an M1 Macbook. In its default configuration, I noted I was getting panics trying to create screenshots using both the command line utility and the nvim plugin:

silicon returned with: thread 'main' panicked at /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/font-kit-0.11.0/src/loaders/freetype.rs:1146:9:
assertion `left == right` failed
  left: 23
 right: 0

I noticed that this lined up with this function, which makes special mention of Apple Color Emoji. I tried explicitly removing Apple Color Emoji from the list of fonts, after which it worked fine. Replacing it with Noto Emoji also works (albeit in monochrome).

(I am assuming that this is an issue somewhere in the underlying font support rather than in Silicon, apologies if this is in the wrong place.)

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

1 participant