Any tools other than FontForge that can pack static woff2 files into a variable woff2 font?
Why would you want to?
You can just provide the @font-face and tell it which weights to use for which.
Then you have maximum efficiency.
Jensen said:
Why would you want to?
You can just provide the @font-face and tell it which weights to use for which.
Then you have maximum efficiency.
Trying to cut HTTP requests.
Jensen said:
Why would you want to?
You can just provide the @font-face and tell it which weights to use for which.
Then you have maximum efficiency.
Trying to cut HTTP requests.
For what purpose?
Is one larger font with all the weights really better than just getting the weights you need when you need them?
Why not just base64 embed them in the main CSS?
@Jensen
I’m trying to find a way to pack all the fonts that I use on every page. That’s why I’m asking for a way to pack static files into a single file because I know I’m going to be using the same set in 90% of the pages.
Jensen said:
Why would you want to?
You can just provide the @font-face and tell it which weights to use for which.
Then you have maximum efficiency.
Trying to cut HTTP requests.
But why? With HTTP/2, the number of requests is irrelevant because it does not add almost any delay at all. In fact, it might be more effective to do more requests for smaller files than one request for a big file.
@Ripley
The file size is not going to be a factor in this case unless it’s a 1GB zip file on a slow network.