tonsky / tonsky/FiraCode

Variable font does not work with weight "Light"

Open
#936 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
82k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Looks like the FiraCode-VF.ttf font file thinks that the light weight is an alias to medium, all other named weights appear to work.

Steps to reproduce ( on Mac )

  1. Install the VT version of the font after deactivating all the other versions.
  2. Open Text Editor
  3. Pick font, weight shows as "Regular"
  4. Set weight to anything but "Light" and weight changes correctly.
  5. Set weight to "Light" and the weight changes to "Medium"

I also noticed that in font explorer the following properties appear:
Name: "Fire Code Light"
Family Name: "Fire Code"
Postscript Name: "FireCode-Light"
Style: "Regular"
Unique Name: "2.000;CTDB;FiraCode-Light"
Path: ...Bunch of directories.../FiraCode-VF.ttf

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

Start with the FiraCode-VF.ttf file and reproduce the behavior on macOS using Text Editor or a font explorer, confirming that Light resolves to Medium. Inspect the font's naming and weight metadata; done means the Light selection resolves to a distinct light weight while the other named weights continue to work.

Written by the indexing model from the issue text.

Assessment

Domain
design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.