adoptium / adoptium/adoptium-support
Fonts with contextual alternates are not correct rendered
- Dominant language
- No language data
- Stars
- 59
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
[](https://www.bountysource.com/issues/98023722-fonts-with-contextual-alternates-are-not-correct-rendered?utm_source=Bountysource&utm_medium=shield&utm_campaign=bounties_posted)
Pay attention to the e's, for example:
**AdoptOpenJDK 8:** _**wrong**_ rendering for font size _**less**_ than _**101**_ and other _**wrong**_ rendering for font size _**greater**_ than _**100**_

**AdoptOpenJDK 11-16, 19:** _**wrong**_ rendering for font size _**less**_ than _**101**_ and **correct** rendering for font size **greater** than **100**

**Example code:**
[FontRederingErrorDemo.zip](https://github.com/AdoptOpenJDK/openjdk-build/files/6325979/FontRederingErrorDemo.zip)
**Fonts with feature contextual alternates:**
- https://bboxtype.com/typefaces/Krikikrak
- http://www.glukfonts.pl/font.php?font=Kleymissky
**OS:**
- Linux:
```
lsb_release -a
LSB Version: 1.4
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
uname -a
Linux 5.11.15-zen1-2-zen #1 ZEN SMP PREEMPT Sat, 17 Apr 2021 00:22:34 +0000 x86_64 GNU/Linux
```
- Windows 10
It would be great if this could be fixed for OpenJDK 8 (for all sizes).
Contributor guide
Research direction
Start by running the attached FontRederingErrorDemo.zip with the listed contextual-alternate fonts on the reported Java versions and operating systems. Compare the output below and above font size 100, then investigate the rendering difference; done means the contextual alternates render correctly at all sizes, especially on OpenJDK 8.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100