Every time I start notion I get the log message
2025-07-31 12:18:18 INFO /notion/../fontset.c:121: de_create_font_in_current_locale: Found a font with 12 missing charsets for -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*
This is because de/init.c:de_init() creates a fallback style with a non-configurable fontname obtained from de/font.c:de_default_fontname() which hardcodes the above helvetica font.
Obviously legacy X11 fonts like helvetica are hopelessly outdated and can't be expected to support all charsets.
I'd like to get rid of this annoying message. I see several options:
- Change the loglevel of the message to DEBUG. I don't think it has a value for ordinary users, especially since they can't change the font in question and will only be sent on a wild goose chase in their style for where they forgot to specify a proper font
- add an
#ifdef HAVE_X11_XFT block to de/font.c:de_default_fontname() with the default "xft:sans-serif:size=12", so that systems with XFT use a more sensible default.
- make the default font user-configurable in some manner
I'll implement this and submit a PR if you tell me which option you prefer.
Every time I start notion I get the log message
This is because
de/init.c:de_init()creates a fallback style with a non-configurable fontname obtained fromde/font.c:de_default_fontname()which hardcodes the above helvetica font.Obviously legacy X11 fonts like helvetica are hopelessly outdated and can't be expected to support all charsets.
I'd like to get rid of this annoying message. I see several options:
#ifdef HAVE_X11_XFTblock tode/font.c:de_default_fontname()with the default"xft:sans-serif:size=12", so that systems with XFT use a more sensible default.I'll implement this and submit a PR if you tell me which option you prefer.