macOS: monospace text is not properly rendered
Steps to reproduce
- Open gtk4-demo
- Show "Source" tab for any demo item
Current behavior
It looks like the spacing is mono-spaced, but the used font is the normal sans-serif font.
This issue only appears with the new ngl renderer. GSK_RENDERER=gl
shows the correct font.
Expected outcome
Monospace text should be rendered with a monospace font.
Version information
GTK: main (66c00dc9) Pango: 1.52.1 (homebrew)
It looks like this issue was introduced with commit c8ca6930.
Additional information
Is additional configuration required on macOS to make monospace fonts work again?