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.
@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.
Most helpful comment
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.