question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Check 161 (typographic family name) expects spaces in "SemiCondensed" and "SemiExpanded" for Encode Sans

See original GitHub issue

Observed behaviour

When I check Encode Sans, I get the following fail:

🔥 FAIL: Check name table: TYPOGRAPHIC_FAMILY_NAME entries.

  • com.google.fonts/check/161
  • 🔥 FAIL Entry [TYPOGRAPHIC_FAMILY_NAME(16):WINDOWS(3)] on the ‘name’ table: Expected ‘Encode Sans Semi Condensed’ but got ‘Encode Sans SemiCondensed’. [code: non-ribbi-bad-value]

Expected behaviour

The expected value should be Encode Sans SemiCondensed, and the fail shouldn’t be triggered.

Resources and exact process needed to replicate

The latest Encode Sans VFs are here, along with fontbakery reports showing this fail: https://github.com/thundernixon/Encode-Sans/tree/d6e768f4f23b85e3ec5dbd04b2b928f564b06bcb/fonts/encodesanssemicondensed/split_vf

My guess is, this is caused by FontBakery wanting to find the canonical font family name by parsing the file name, which is EncodeSansSemiCondensed-Thin.ttf. However, if this is the case, we need a way to not apply this camel-case splitting logic for width-describing names.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
thundernixoncommented, Mar 11, 2019

Aesthetically, I also like Pablo’s proposal (in the earlier thread) for single, specific names. However, I don’t think Encode gets narrow enough to be “compressed” or wide enough to be “wide.” Like weight descriptions (e.g. “bold” vs “heavy”), width descriptions have connotations worth respecting.

As a modification of general width descriptions, “Semi” and “Extra” are helpful and obvious. To keep those clearly with their style words, it’s additionally helpful to camel case these.

1reaction
m4rc1ecommented, Mar 11, 2019

I see your point.

I’m more than happy for both width and weight styles to be camelcased. However, for families we have already released, we can’t change this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Analytics - Google Fonts
Making the web more beautiful, fast, and open through great typography. ... Impallari Type; Rodrigo Fuenzalida ... Encode Sans Semi Condensed.
Read more >
Expected Wins - SaberSmart
src/lib"),i={"X,X div":"direction:ltr;font-family:'Open Sans', verdana, ... e;this.name="AssertionError",this.actual=t.actual,this.expected=t.expected ...
Read more >
Font Object Content Architecture Reference
The. FOCA architecture describes semantics and terminology for font objects used in a variety of environments. Syntax is provided for AFP system fonts...
Read more >
Instance Setting Guide - Relativity Documentation
Controls the default setting for Advanced Search Default when ... space characters. ... font family names and/or generic family names."> ...
Read more >
a TeX/LaTeX enthusiast's view
Originally, D. Knuth conceived TEX to use its own font system: mEtaFoNt. Default font family for TEX & Co.: Computer Modern.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found