Munter / subfont

Command line tool to optimize your webfont loading. Aggressive subsetting based on your font use, self-hosting of Google fonts and preloading
MIT License
1.56k stars 29 forks source link

Expose subsetPath from subsetFont to subFont API #167

Open CxRes opened 1 year ago

CxRes commented 1 year ago

Earlier, at my request, you had exposed subsetPath in subsetFont(), so that consumer can customize font path when using it as an AssetGraph plugin. Please expose the same (at least at API level) in subfont() as well, and remove the hardcoding of path in the AssetGraph instance!

papandreou commented 1 year ago

PR welcome :)