HumbleUI / HumbleUI/Skija

Text line FontRunIter fails on JetBrains Mono and combining characters

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
693
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Copied from https://github.com/JetBrains/skija/issues/106

Given this:

```
a U+0061 LATIN SMALL LETTER A
̆ U+0306 COMBINING BREVE
```

JB Mono supports a and ă but not ̆. That leads to whole cluster to fall back, but it should be shaped using JB Mono instead.

Screenshot 2021-04-22 at 22 54 36

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the FontRunIter case described in the issue with U+0061 followed by U+0306 using JetBrains Mono. Trace how the combined cluster selects a fallback when the font lacks the combining mark, and verify that the cluster is shaped with JetBrains Mono when it supports the composed result.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.