doomemacs / doomemacs/core

Ligature rendering sometimes renders with extra spacing

Open
#7,815 15 comments 2 reactions 0 assignees View on GitHub
:ui ligatures
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### I confirm that...

- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.
- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.
- [X] The issue can be reproduced on the **latest** available commit of Doom.
- [X] 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](https://github.com/mickeynp/ligature.el/assets/3363954/7a5456c9-4b4d-4447-9e5a-917441ef5b9e)
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

Contributor guide

Open the contributing guide

Research direction

Start with the supplied system information and reproduce the issue in a stable Emacs using either ligature.el directly or the Doom module. Compare the rendering across repeated launches and configurations; done means ligatures consistently render without the reported extra spacing.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs, emacs-lisp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.