tonsky / tonsky/FiraCode

Strange request about `Retina` style and SublimeText on Linux

Open
#641 28 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

Hi,

As the title says, this is a bit of a strange request. Let me start by referencing why I write this. This forum post and this whole tweet discussion (tweet continued with more details)

The issue comes down to an inability to select the Fira Code with Retina style inside SublimeText. From the discussion with the dev, I think the problem has to do with a misuse of Pango API, where the font weight is used to select the style variant. I could be wrong as SublimeText is closed source and there's no way to verify that.

However, I have been ensured that making a Fira Code Retina font face with weight Book would work. Or at least a font Fira Code with weight Book. This is because SublimeText do not provide a way to specify custom font style, but instead, as I understand, try a bunch of predefined ones.

So I wonder if it would be possible to have that sort of thing provided upstream - basically the Retina variant but as a Fira Code with weight Book. I could edit the font myself, but really don't wanna mess things up on the user side and also have to do this sort of thing on every update.

Is this sort of thing at all reasonable?

Thanks!

EDIT: It seems like it's not an API misuse, but an API deficiency in Pango, where string font styles are converted to numbered weights.

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 linked Sublime Text forum post and the referenced tweet discussions, then assess whether the Fira Code Retina variant can be exposed with Book weight under the stated Pango and Sublime Text constraints. Done means establishing whether this font change is technically and typographically reasonable, and documenting the decision or required scope.

Written by the indexing model from the issue text.

Assessment

Domain
design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.