microsoft / microsoft/terminal

Strange behavior of some ligature in custom Maple Mono font

Open
#19,920 0 comments 0 reactions 1 assignee Claimed by @lhecker View on GitHub
Area-Rendering Issue-Bug Priority-3 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.23.20211.0

### Windows build number

10.0.26300.0

### Other Software

_No response_

### Steps to reproduce

- use the font in the follow zip: [MapleMonoNormal-Regular.zip](https://github.com/user-attachments/files/25654978/MapleMonoNormal-Regular.zip) , which contains ligatures of specific tags.
- just type the build-in ligatures, and some ligatures have inconsistent behavior.
- in this font, the tag `[SUCCESS]` works improperly.

p.s. the font is create from my repo [hluica/maple-font](github.com/hluica/maple-font)

### Expected Behavior

- if set `calt` to 1 manually in settings or json, both tags will work properly:

Image

but both should either be rendered or not rendered at all.

### Actual Behavior

- the tag `[SUCCESS]` and `[FAILURE]` both are `calt` ligatures, but only one would render correctly without change any setting:

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.