daniel-araujo / fontfacegen-webpack-plugin

A plugin for webpack that allows you to convert .ttf and .otf files into various other font formats such as .eot, .ttf, .svg, .woff and .woff2 using the existing NPM package fontfacegen.
MIT License
21 stars 0 forks source link

Missed "fontforge" on Win10 #5

Open Arkanit7 opened 3 years ago

Arkanit7 commented 3 years ago

Windows 10.

[webpack-cli] FontFaceException { message: 'We are missing some required font packages.\n' + 'That can be installed with:\n' + 'brew install fontforge', name: 'FontFaceException' }

So I have installed "fontforge" with npm, but still the same error.

daniel-araujo commented 3 years ago

Thank you for taking the time to open this issue.

FontForge is a stand-alone tool. It is not a package that you can install through NPM. The error message comes from the fontfacegen package and it is refering to a package manager that is commonly used by macOS developers.

You can download it for Windows here: https://fontforge.org/en-US/downloads/windows-dl/

Sorry for the inconvenience. I might try to catch the error object and replace the message with something less confusing.

CrawFish666 commented 11 months ago

I already install fontfacegen for win10 but still have this issue