You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ echo "console.log('hello!');" | RUST_BACKTRACE=1 silicon -o main.png -l javascript -f 'Berkeley Mono=16'
[error] Error occurs when load font `Berkeley Mono`: Font error: parse error
thread 'main' panicked at /home/drhayes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/silicon-0.5.2/src/font.rs:214:14:
called `Option::unwrap()` on a `None` value
stack backtrace:
0: rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
2: core::panicking::panic
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:144:5
3: silicon::formatter::ImageFormatter::format
4: silicon::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
I can run with a more verbose backtrace if that would help.
If I use a different font like Ubuntu Mono or JetBrains Mono it works just fine.
"Berkeley Mono" appears when I run silicon --list-fonts.
Here's what I'm trying to do:
I can run with a more verbose backtrace if that would help.
If I use a different font like
Ubuntu Mono
orJetBrains Mono
it works just fine."Berkeley Mono" appears when I run
silicon --list-fonts
.Here is where I got the font: https://berkeleygraphics.com/typefaces/berkeley-mono/
The text was updated successfully, but these errors were encountered: