From 3e84291cd3b30d98269afe74c7089ba0fe1c363d Mon Sep 17 00:00:00 2001 From: Dmitry Atamanov Date: Sat, 27 Dec 2025 20:02:13 +0500 Subject: [PATCH] cli: use NotoMono-Regular.ttf font in Linux --- examples/cli/cli.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/cli/cli.cpp b/examples/cli/cli.cpp index 9a54742f..880e4f29 100644 --- a/examples/cli/cli.cpp +++ b/examples/cli/cli.cpp @@ -82,7 +82,11 @@ struct whisper_params { std::string language = "en"; std::string prompt; +#ifdef __linux__ + std::string font_path = "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"; +#else std::string font_path = "/System/Library/Fonts/Supplemental/Courier New Bold.ttf"; +#endif std::string model = "models/ggml-base.en.bin"; std::string grammar; std::string grammar_rule;