linebender / linebender/parley

Too much spacing between numerals

Open
#544 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
736
Forks
120
Avg merge
1d 3h
Merged PRs (30d)
53

Description

Problem

Sometimes there is too much whitespace rendered between digits / numerals.

This seems to be a regression from Parley 0.7 to main, although it looks like the relevant text is being rendered with a different font so I'm unsure if rendering behaviour has actually changed or it's just font selection changes surfacing the issue.

Screenshots

Screenshots are of https://nicoburns.com. The issue is with the text "2016 - 2017":

### Firefox (correct rendering)

Image
Blitz with Parley 0.7 (floats-0.7 branch)
Image
Blitz with Parley main (floats branch)
Image

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

Reproduce the spacing issue using the text "2016 - 2017" and compare the floats-0.7 and floats branches against the Firefox screenshot. Trace the changed font selection or rendering behavior in the relevant Parley code, then verify that numeral spacing matches the correct rendering without regressing other text.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.