eteran / nedit-ng

a Qt5 port of the NEdit using modern C++14
GNU General Public License v2.0
96 stars 26 forks source link

Font family alias warnings on macOS #327

Open anjohnson opened 2 years ago

anjohnson commented 2 years ago

I see this warning displayed on my Mac terminal windows where I started nedit-ng when it opens some dialogs or the "Output from Command" window:

Warning: Populating font family aliases took 145 ms. Replace uses of missing font family "Monospace"
with one that exists to avoid this cost. 

On my ancient laptop the time taken is somewhat longer (this was taken on a much faster iMac). Is there some easy way to configure Nedit to use a font that does exist on macOS instead of "Monospace"? It would be nice to silence the warning, although it doesn't happen that often so this is definitely a low priority.

Thanks!

eteran commented 2 years ago

Yeah, there should be some monospace font we can default to on mac that will be "always there". Using "Monospace", it was hoped that that was generic enough that it would always be there on every platform. But we'll need to work out a slightly better solution.