Skip to content

Commit

Permalink
fix: woff spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
drcmda committed Jun 12, 2023
1 parent 5dfa2c6 commit 7b8dcf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DIST = dist

RESIZE = 512x512
QUALITY = 80
FONTCHARS = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,;.:-_<>$$£!+\"*ç%&/~[]{}()=?\`^\'#€öÖäÄüܧ°
FONTCHARS = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ,;.:-_<>$$£!+\"*ç%&/~[]{}()=?\`^\'#€öÖäÄüܧ°
#
# Build TARGETS
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ new THREE.EXRLoader().load(city, (texture) => {
# Fonts
The [Inter](https://rsms.me/inter/) font family converted to _.json using [facetype.js](https://gero3.github.io/facetype.js), and _.woff using [fonttools](https://github.com/fonttools/fonttools) with a subset of ` ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,;.:-_<>!+"*ç%&/~[]{}()=?``^'#€öÖäÄüܧ° `. Each json is ~30-40kb, each woff ~15-20kb.
The [Inter](https://rsms.me/inter/) font family converted to _.json using [facetype.js](https://gero3.github.io/facetype.js), and _.woff using [fonttools](https://github.com/fonttools/fonttools) with a subset of ` ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,;.:-_<>!+"*ç%&/~[]{}()=?``^'#€öÖäÄüܧ° `. Each json is ~40kb, each woff ~20kb.
```js
import interJson from '@pmndrs/assets/fonts/inter_regular.json'
Expand Down

0 comments on commit 7b8dcf3

Please sign in to comment.