blinksh / blinksh/blink

Incorrect character width for ligature fonts

Open
#969 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6.9k
Forks
746
PR merge metrics
No merged PRs in 30d

Description

I am using a ligature font (ligaturized SF Mono, as described [here](https://github.com/blinksh/blink/issues/936)) but the character width seems to be calculated incorrectly so the character indicator caret thingy is at the wrong location.

![ezgif-4-120e459ac270](https://user-images.githubusercontent.com/16278233/77757975-7d3c4900-7032-11ea-8291-4fb6a459629f.gif)

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the linked Blink issue #936 for the ligaturized SF Mono context, then reproduce the caret-position problem with that font using the GIF as a reference. Trace the character-width and caret-rendering path from the reproduction; done means the character indicator appears at the correct location for ligature fonts.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
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.