vercel / vercel/hyper

Ligature support is spotty with MonoLisa

Open
#5,833 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOS version: 10.15.7
  • Hyper.app version: Hyper 3.1.2 (stable)
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/tbremer/e87a79d4571f43119981b937fd444c01
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): n/a
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Ligature support with the font MonoLisa appears limited in some capacity. Attached are three screen grabs, MonoLisa in Hyper, Fira Code in Hyper, and MonoLisa within Google Chrome rendering to a Canvas and the DOM.

Using MonoLisa within Hyper most ligatures do not work, however, [|, {|, and #? appear as expected. The same is not true if you render the same subset of ligatures to a Canvas element within Chrome itself.

I have opened an issue with MonoLisa as well, but I don't think this is necessarily an issue with the font itself.

Link to Codepen where you can see MonoLisa working correctly, however, this assume MonoLisa is installed on your system.

MonoLisa

MonoLisa

Fira Code

Fira Code

MonoLisa in Chrome

Google Chrome

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the MonoLisa ligature behavior in vanilla Hyper and compare it with the linked CodePen's Chrome canvas and DOM rendering. Use the provided .hyper.js gist and devtools guidance while tracing the terminal font-rendering path; done means the reported MonoLisa ligatures render consistently in Hyper.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.