fontpie icon indicating copy to clipboard operation
fontpie copied to clipboard

Get your layout shifts optimized with a CLI-generated piece of CSS

Results 10 fontpie issues
Sort by recently updated
recently updated
newest added

If running from root of `{someDirectory}` where the font files are located in `{someDirectory}/{otherDir}/{fontDir}`, is there a way to output in the `@font-face` rules a src url() pointing to `./{otherDir}/{fontDir}`...

Maybe reference this website: https://www.cssfontstack.com/ and be able to choose and update: `src: local('another web safe font');`

Now we can only specify the font family as a fallback. I'd like to have a manual setting of the font that will be used as the fallback. For what:...

According to caniuse.com, size-adjust works on Chrome for Android. However it does not. A bug has been filed in the following link: https://bugs.chromium.org/p/chromium/issues/detail?id=1370818 Would the font metrics that fontpie produces...

**This PR add types:** **TODO:** - [x] Rewrite code (add types) - [ ] Setup tsc - [ ] Configure build command - [ ] Edit package.json for new setup...

Optimization of the fallback font is based on recalculation of its parameters. One of them is the [width of the font](https://github.com/pixel-point/fontpie/blob/main/index.js#L31). Unfortunately, current optimization is not one hundred percent and...

enhancement

We use commander.js for creating CLI. There is a strange behavior which more a bug than a feature. When user makes a mistake and uses "-name" option instead "--name" commander...

bug
good first issue

There are a lot of calculations in our small npx-tool. It will be good to have some unit tests for it and no more worried about mistakes after refactoring. -...

good first issue

TypeScript is a standard for front end tools nowadays. It will be good to use TS in our little `npx`-tool too. ### Rough outline - [ ] Rewrite code (add...

good first issue