Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ligature rendering sometimes renders with extra spacing #7815

Open
4 tasks done
LukeXuan opened this issue Apr 12, 2024 · 1 comment
Open
4 tasks done

Ligature rendering sometimes renders with extra spacing #7815

LukeXuan opened this issue Apr 12, 2024 · 1 comment
Labels
is:bug Something isn't working as intended needs-triage Issue hasn't been assessed yet

Comments

@LukeXuan
Copy link

I confirm that...

  • I have searched the issue tracker, documentation, FAQ, Discourse, and Google, in case this issue has already been reported/resolved.

  • I have read "How to Debug Issues", and will use it to provide as much information about this issue as possible.

  • The issue can be reproduced on the latest available commit of Doom.

  • The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. (Unstable versions end in .50, .60, or .9x)

Expected behavior

Ligature should look normal

Current behavior

When I open emacs, sometimes this is what I see
image
Notice the extra spacing at the end of each ligature. This behavior happens regardless whether I configure ligature.el directly or through doom module.

Steps to reproduce

  1. open Emacs
  2. stare at the extra spacing

System Information

https://gist.github.com/LukeXuan/7e1f0edaca4fa8ac3328d6f16f69b276

@LukeXuan LukeXuan added is:bug Something isn't working as intended needs-triage Issue hasn't been assessed yet labels Apr 12, 2024
@LukeXuan
Copy link
Author

I reported in upstream earlier. Since then I tested a few days with only ligature.el and no doom emacs, and the problem didn't occur once. Unless I'm extremely unlucky, this seems like a emacs only issue.

Also, my font configure:

(setq doom-theme 'doom-one
      doom-font (font-spec :family "JetBrains Mono" :size 16 :weight 'medium)
      doom-symbol-font (font-spec :family "JetBrains Mono" :weight 'medium)
      doom-variable-pitch-font (font-spec :family "JetBrains Mono" :weight 'medium)
      doom-emoji-font (font-spec :family "JetBrainsMono NF" :weight 'medium))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:bug Something isn't working as intended needs-triage Issue hasn't been assessed yet
Projects
Status: No status
Development

No branches or pull requests

1 participant