Hey. Maybe it`s a little bit offtopic here, but I have no idea where is the rigth place for it.
Currently I am working on my own font parser.
WOFF2 is one of the formats I want to support.
In specs says WOFF2 supports font collections, but I cannot find such fonts.
Simply no info in google about such font files.
So, I came here to ask someone to help me with it and provide at least few such files for testing purposes.
Please, help me with my issue.
Woff 2 font with font collection inside
-
- Posts: 6
- Joined: Tue May 04, 2021 7:53 am
Re: Woff 2 font with font collection inside
Anyone? More than 120 views and noone has such fonts or at least know where they could be obtained?
-
- Top Typographer
- Posts: 9888
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Woff 2 font with font collection inside
The lack of replies indicates that no one uses type collections for WOFF fonts. I don't think FontCreator can create them for regular TTF or OTF fonts. FontCreator simply extracts the individual fonts from a collection on opening it.
-
- Posts: 6
- Joined: Tue May 04, 2021 7:53 am
Re: Woff 2 font with font collection inside
Yeah, I already understood that.
I didnt find any converters (online/offline) which could convert TTC (true type collection) to Woff2.
And this is quite strange, because specs says that font collections is supported.
Is this unclaimed feature?
I didnt find any converters (online/offline) which could convert TTC (true type collection) to Woff2.
And this is quite strange, because specs says that font collections is supported.
Is this unclaimed feature?
Re: Woff 2 font with font collection inside
The https://github.com/google/woff2 tools by Google have the ability to convert an OpenType Collection into a WOFF2 Collection and vice-versa. The only quirk that I found is that when you execute woff2_decompress to convert a WOFF2 Collection back into an OpenType Collection, its filename extension is ttf, not ttc. I was impressed.
-
- Posts: 6
- Joined: Tue May 04, 2021 7:53 am
Re: Woff 2 font with font collection inside
I tested with 2 font collections I have and both failed.
Can you please say what I am doing wrong here?
Can you please say what I am doing wrong here?
- Attachments
-
- Untitled.png (9.16 KiB) Viewed 16620 times
Re: Woff 2 font with font collection inside
While it took 25 minutes on my MacBook Air (2019 with 16GB of memory), I successfully converted the 400MB 216-font Source Han / Noto CJK Ultra OTC into a WOFF2 Collection. My only guess is that you are facing a memory-related issue. What is the footprint of ASANA.ttc? If it is large, you may try the smallest TTC you can find.
-
- Posts: 6
- Joined: Tue May 04, 2021 7:53 am
Re: Woff 2 font with font collection inside
@lunde
May be it will be easier if you share your woff2 fonts converted from TTC files somewhere? Dropbox, One Drive, etc.
May be it will be easier if you share your woff2 fonts converted from TTC files somewhere? Dropbox, One Drive, etc.
-
- Posts: 6
- Joined: Tue May 04, 2021 7:53 am
Re: Woff 2 font with font collection inside
Thanls a lot!!! Will test my parser with these files.