dzhuang/subset-iconfont

Can support for Material Symbols (variable weight) added?

chris70c opened this issue · 2 comments

Would it be possible to add support for the latest Google Material Symbols .otf with ligatures and variable weight support?

Thanks
Chris

Hi, it's simple if we only need the style (outlined, rounded, sharp). However, in terms of variables like FILL, wght, GRAD, opsz, we will need to add extra api, which require quite some work to do and I don't have the time avaiable. A PR would be welcome if you can try to achieve that.

Update: Sorry, after some explorations, I must admit what I said simple previously is actually not that simple since Google Material Symbols were not using what we called unicode or codepoint as a reference to get the font from the font files. So it's a quite complex task, if not impossible, to build a new and consistent unicode base before we can use the current logic of this package.