I have studied a part of FLTK, and learned it has 16 fonts which can be found in enums::Font. "Screen" is one of them.
When Fl_Terminal calls
terminal->textfont( FL_SCREEN );
"Consolas" or "Courier New" will be returned on Windows (en-US), or DejaVu Sans Mono on Linux. However, on Windows (ja-JP) it seems the OS cannot return an appropriate monospace font, and FLTK falls back to some other font, which is not readable.
On Windows, relying on FL_SCREEN to resolve a suitable monospaced font appears to be locale-dependent. The issue might happen in other exotic locales, too.
Explicitly selecting a known monospace font such as "Consolas" (with a fallback to "Courier New") would avoid issues under ja-JP and other locales on Windows. Is it possible to implement such selection in VSPAERO? Of course, a logic to treat other OSs would be necessary, though.
Toshi
2026年1月29日木曜日 7:05:55 UTC+9 Toshio Otaguro: