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.

Generated fonts don't show up in Apple's font menu

See original GitHub issue

It seems OpenType.js doesn’t set the correct fields for language and script, which means that OS X doesn’t list them in font menus (you can still select the font from the font dialog.

To reproduce:

  1. Generate a font, for example by running node examples/generate-font-node.js
  2. Install the font on OS X
  3. In Font Book, show the font info. Note that entries for “Language” and “Script” are missing.
  4. In TextEdit, the font is not listed in the font menu.

Screenshot of Font Book: screen shot 2016-06-24 at 08 36 18

Example font: Pyramid-Regular.otf.zip

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
fdbcommented, Jun 29, 2016

After more testing it turns out the required set is .notdef, A-Z, a-z, 0-9 and space. I’ve updated the generate-font-node example and now it appears in TextEdit. Awesome!

1reaction
fdbcommented, Jun 29, 2016

No the period is not required — I tested it without. It’s just something I wanted to add because it’s so frequently used.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installed fonts not showing up in Font Book or other apps
I go into Font Book, go to File > Add Fonts..., navigate to a font file and click Open, the validating and installing...
Read more >
Custom installed font not displayed correctly in UILabel
Open the font with FontForge and select Element in the top menu, then go to Font Info > OS/2 > Metrics. There you...
Read more >
Best guide on how to install fonts on Mac in 2022
Add fonts on a Mac manually · Open Finder, press Go in the top Menu bar, select Go to Folder. · Type in...
Read more >
Manage missing fonts
You can see which fonts are missing and select any affected layers from the Missing fonts modal. To open the Missing fonts modal,...
Read more >
Use Custom Fonts
Tableau provides a variety of fonts for you to use in your visualizations, including the fonts in its default typeface: Tableau. However you...
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