The width of character ^ in font Lekton is incorrect
- Dominant language
- HTML
- Stars
- 20.5k
- Forks
- 2.9k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 95
Description
**Describe the bug**
Lekton is a monospace font so all characters should have the same width. But the character ^ does not
**To Reproduce**
```
const canvas = document.getElementById("canvas");
const ctx = canvas.getContext("2d");
ctx.font = "20px Lekton";
ctx.fillText("0123456789", 10, 20);
ctx.fillText("012^^^^789", 10, 40);
const c = '^';
const width0 = ctx.measureText('0').width;
const widthc = ctx.measureText( c ).width;
if(Math.abs(width0-widthc) > 0.00001) {
alert(`${ctx.font} is NOT monospaced: 0 is ${width0}px wide, while ${c} is ${widthc}px wide`);
}
```
**Expected behavior**
The two lines should match in width
**Screenshots**>
**Additional context**
This has been reproduced in browsers Chrome, Firefox and Safari on macOS
Contributor guide
Assessment
This issue has not been assessed yet.