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.

Numbers in font name

See original GitHub issue

Original issue on project git: https://github.com/codeman38/PressStart2P/issues/2

I know numbers are not good in font names, but Press Start 2P is an active GF font, and it validates fine in font book.

I think font-bakery has some bug in reading the name. Compare this output to the name table:

fontbakery-check-ttf.py error output:

ERROR    [FONT_FAMILY_NAME(1):MACINTOSH(1)] entry: expected 'Press Start2 P' but got 'Press Start 2P'  
ERROR    [FULL_FONT_NAME(4):MACINTOSH(1)] entry: expected 'Press Start2 P Regular' but got 'Press Start 2P Regular'  
ERROR    [FONT_FAMILY_NAME(1):WINDOWS(3)] entry: expected 'Press Start2 P' but got 'Press Start 2P'  
ERROR    [FULL_FONT_NAME(4):WINDOWS(3)] entry: expected 'Press Start2 P Regular' but got 'Press Start 2P Regular' 

name table:

<namerecord nameID="1" platformID="1" platEncID="0" langID="0x0" unicode="True">
      Press Start 2P
    </namerecord>
    <namerecord nameID="2" platformID="1" platEncID="0" langID="0x0" unicode="True">
      Regular
    </namerecord>
    <namerecord nameID="3" platformID="1" platEncID="0" langID="0x0" unicode="True">
      3.000;CYRE;PressStart2P-Regular
    </namerecord>
    <namerecord nameID="4" platformID="1" platEncID="0" langID="0x0" unicode="True">
      Press Start 2P Regular
    </namerecord>
    <namerecord nameID="6" platformID="1" platEncID="0" langID="0x0" unicode="True">
      PressStart2P-Regular
    </namerecord>
    <namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
      Press Start 2P
    </namerecord>
    <namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
      Regular
    </namerecord>
    <namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
      3.000;CYRE;PressStart2P-Regular
    </namerecord>
    <namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
      Press Start 2P Regular
    </namerecord>
    <namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
      PressStart2P-Regular
    </namerecord>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
felipesanchescommented, Oct 16, 2016

I’m not too happy about it as well. As a programmer I’d expect a clear-cut algorithmic definition of what’s allowed and what’s unacceptable. But this universal rule seems a bit hard to come up with, as @graphicore pointed out, so that’s how we’re working at the moment, adding exceptions. Maybe after we gather a slightly larger set of exceptions we’ll gradually grasp a reasonable algorithmic expression of our criteria and then get rid of the exceptions. Maybe not. 😛

0reactions
felipesanchescommented, Oct 25, 2016

alright 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

40 Best number fonts: free and paid - Justinmind
Find the 40 best free and paid number fonts for stylish and functional numerals. See guidelines on how to use numbers in your...
Read more >
Numerals in font family names - TypeDrawers
I just heard today (with the final font due tomorrow) that the final font family name is supposed to have a numeral in...
Read more >
15 Best Number Fonts for Displaying Numbers - Onextrapixel
The Best Number Fonts ; 1. Didone Room Numbers Display Font Family ; 2. MRK Maston Pro ; 3. Crash Numbering Font ;...
Read more >
45+ Best Number Fonts for Stylish Designs - JUST™ Creative
Our list of 45+ Best Number Fonts for stylish Graphic Design, ... Glitch is a display font that provides exactly what its name...
Read more >
Numbers Fonts | Fonts by Hoefler&Co. - Typography.com
Bayside with Tungsten Rounded · Depot with Sentinel · Indicia with Knockout · Deuce with Peristyle · Strasse with Ringside Extra Wide ·...
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