tonsky / tonsky/FiraCode

Compiled font from repository is blurrier than downloaded font

Open
#1,209 4 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

I want to compile Fira Code to enable several style options permanently, since pyftfeatfreeze doesn't seem to support ligatures. Before I enabled them in FiraCode.glyphs I first tested a clean compilation with git clone + make (no changes to the code).

The fonts are correctly created in distr/ttf, but when I use my created fonts, hinting seems bad (above red line downloaded version, below my compiled version):

image

Zoom (see = and _):

image

Between each test I only replace one ttf with the other, no changes to the fontconfig configuration are done.

Also sizes are very different: 376kB vs 296kB for FiraCode-Regular.ttf, for example, and the Retina version is not built.

I can't see any errors: https://pastebin.com/W6ER9nvN

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 clean build with git clone and make, then compare the generated files in distr/ttf with the downloaded fonts. Start with FiraCode.glyphs and the build output, including the linked log, and determine why hinting, file sizes, and the missing Retina build differ; done means the generated variants match the expected build behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
build-system
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.