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

Error with Operator Mono font #262

Open
daemondev opened this issue Dec 29, 2024 · 0 comments
Open

Error with Operator Mono font #262

daemondev opened this issue Dec 29, 2024 · 0 comments

Comments

@daemondev
Copy link

silicon fails with these stacktrace
on MacOS M3 Seqoia 15.2

╭─ 󰫤 richar👽4runner:  ~/d/p/r/t/terraform-files ✨   ❛
╰──➤ λ silicon -o test.png output.tf                                                                                 20:56:02
thread 'main' panicked at src/font.rs:200:34:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0:        0x1030762cc - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h14dcb4794e811c9f
   1:        0x1030863c4 - core::fmt::write::h49a9cf68bfb4a321
   2:        0x103079684 - std::io::Write::write_fmt::h00e4f1b82d71ad85
   3:        0x103063130 - std::panicking::default_hook::{{closure}}::hda52b8046522f561
   4:        0x103062d6c - std::panicking::default_hook::h9566cb73367aef3e
   5:        0x103063ae8 - std::panicking::rust_panic_with_hook::hfa41181adbcf532d
   6:        0x103076688 - std::panicking::begin_panic_handler::{{closure}}::ha417e66bf9de7acf
   7:        0x1030764f4 - std::sys::backtrace::__rust_end_short_backtrace::hc7b890f013fa9efb
   8:        0x103063224 - _rust_begin_unwind
   9:        0x1030a059c - core::panicking::panic_fmt::h29609029db4d41f4
  10:        0x1030a0608 - core::panicking::panic::h97c8159dc6d2ea7f
  11:        0x1030a0b3c - core::option::unwrap_failed::hdd5507379abf422d
  12:        0x102f20ed0 - silicon::font::ImageFont::get_font_height::h85c5f0672ce243a1
  13:        0x102f1f758 - <silicon::font::FontCollection as silicon::font::TextLineDrawer>::height::h502f32b68ea3c2bd
  14:        0x102ee7890 - silicon::formatter::ImageFormatter<T>::format::hfbc7aeb3d5f3b6a9
  15:        0x102f09640 - silicon::main::h5bddbaf45f951d91
  16:        0x102f01910 - std::sys::backtrace::__rust_begin_short_backtrace::hdf38b1140dd6b7fa
  17:        0x102ef7160 - std::rt::lang_start::{{closure}}::ha95b09a3701e5fc3
  18:        0x10305b4c4 - std::rt::lang_start_internal::h31b5cf8a92666908
  19:        0x102f09bc4 - _main

it's my config

--shadow-color '#555'
--background '#a838e500'
--shadow-blur-radius 30
--theme Dracula
--line-pad 0
--pad-horiz 70
--pad-vert 80
--font 'Operator Pro=8'

#--font 'Monaco=13'

with Monaco font run's though

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