Closed daviehh closed 10 months ago
this is something specific to macOS for whatever reason CoreText doesn't seem to want to draw these specific combining chars as best as I can tell. They render fine on my Linux system. Not sure what to do to convince it to draw them. I will investigate in more depth when I have some time.
Yeah we can see that its the combination of the theta and the combinging char. Probably because of the font the theta comes from. â renders correctly, but θ̂ does not. Sigh, more of my life burnt on reverse engineering apple's nonsense.
minimal reproducer:
kitty --hold --debug-font-fallback --config NONE kitty +runpy 'print("\u03b8\u0302 a\u0302")'
Issue seems to be with advances not being reset for glyphs to be rendered as a combined group. Even more minimal reproducer:
kitty --hold --config NONE kitty +runpy print("Q\u0302")
thanks for the quick update!
Describe the bug With some programming languages, it is common to see unicode characters such as characters with bar or hats, e.g. in julia
To Reproduce Steps to reproduce the behavior:
\theta
tab\hat
tabScreenshots See screenshot, both iterm(right) and kitty(left) configured to use FiraCode Nerd Font Mono
Environment details
Thanks!