I
I
Ivan2020-07-21 10:05:54
Fonts
Ivan, 2020-07-21 10:05:54

What is the best way to upload fonts to the site?

The question arose: how best to connect the fonts to the site.
There are not many options.

1. Connect via Google Fonts.
2. Download fonts from your site

And here are a few questions:
1. What is the best way to do it?
2. In what format should I download fonts from my site? I have now loaded ttf that I downloaded from google, but there are no other fonts there.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
Nikita, 2020-07-21
@Prynik

1. Use the second option, cdn often takes longer to load.
2. Google how to connect fonts correctly.

N
Nikita Shinkevich, 2020-07-21
@domres

In all projects, fonts are always stored on their server. But a matter of taste. I just don't like unnecessary connections, which are already full when using all sorts of counters and stats...
If the server is correctly configured for caching and other features, fonts at hand are not bad.

A
Anton, 2020-07-21
@karminski

Almost always on combat sites, the first option is used. And it happens not only GF, but also other CDNs.
During site development or in an isolated environment (and there are such), choose the second option.

A
Anton Semenikhin, 2020-07-21
@ranikwebproger

Personally, I prefer to connect via CDN from Google Fonts. Convenient, does not take up space on servers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question