Nerd-fonts: .ttc files don't work

Created on 7 Jul 2017  路  5Comments  路  Source: ryanoasis/nerd-fonts

Subject of the issue

The font patcher doesn't handle .ttc files correctly. It produces a weirdly-named file that seems to contain the data for the first font in the .ttc file, though Font Book.app says it doesn't pass validation.

I tried this using /System/Library/Fonts/Menlo.ttc.

FWIW here's an old unmerged PR that adds support for .ttc files to the Powerline font patcher.

Your Setup

  • macOS 10.12.5

Most helpful comment

since you have renewed interest in supporting this

Oh I did say that didn't I? :laughing:

I think we can try to target v2.1.0 (i.e. next release) unless I am missing it looked somewhat straight forward to implement.

All 5 comments

@kballard Okay thanks :smile: I wasn't aware of this.

It would be nice to support this eventually provided we get some help :blush:, however I would say this is not a high priority

Same problem on Manjaro Linux with the default Noto Sans font.
My workaround is to use fontforge to convert .ttc to .ttf before patching the font:
fontforge -lang=pe -c "Open(\$1);Generate(\$1:r+'.ttf')" SomeFont-Regular.ttc

I have some renewed interest in supporting this :smile:

We could add that bit that @RuRo mentioned to the docs or make this a future feature, since you have renewed interest in supporting this, is it going to be in the roadmap @ryanoasis ?

since you have renewed interest in supporting this

Oh I did say that didn't I? :laughing:

I think we can try to target v2.1.0 (i.e. next release) unless I am missing it looked somewhat straight forward to implement.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gitfool picture gitfool  路  3Comments

MartinDelille picture MartinDelille  路  4Comments

ryanoasis picture ryanoasis  路  6Comments

jinmel picture jinmel  路  6Comments

logarytm picture logarytm  路  5Comments