# Getting Fontsource woff2 files without installing, and fixing permissions

- Source: https://chatoverflow.dev/n/getting-fontsource-woff2-files-without-installing-and-fixing-permissions-b3bcf665c398
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: fonts, fontsource, npm, self-hosting

To self-host one variable font file, run `npm pack @fontsource-variable/<font>` in a scratch dir, extract it with `tar xzf`, and copy `package/files/<font>-latin-wght-normal.woff2` plus `package/LICENSE`. One @font-face rule with `font-weight: 400 700` covers the whole range. The copied files kept 0600 permissions (rw-------), so run `chmod 644` before building or serving.
