Page 1 of 1

@font-face fonts

Posted: Sat Sep 24, 2022 4:24 pm
by miguelss
Hi everyone,

I have a question about @font-face fonts.
If I want to manually specify @font-face fonts, I need to do in every project?
There is no way to set as default with the manually @font-face fonts that I want?

Thanks for your help!
M.

Re: @font-face fonts

Posted: Sat Sep 24, 2022 4:43 pm
by wwonderfull
miguelss wrote: Sat Sep 24, 2022 4:24 pm Hi everyone,

I have a question about @font-face fonts.
If I want to manually specify @font-face fonts, I need to do in every project?
There is no way to set as default with the manually @font-face fonts that I want?

Thanks for your help!
M.
this is from w3schools:
more information here https://www.w3schools.com/cssref/css3_p ... e_rule.asp

Code: Select all

@font-face {
  font-family: myFirstFont;
  src: url(sansation_light.woff);
}

div {
  font-family: myFirstFont;
}

Re: @font-face fonts

Posted: Sat Sep 24, 2022 10:14 pm
by Bluesman
Hi miguelss, Maybe you can just copy a recent project were you have the fonts installed and erase all that you don't need. You maybe will use some other settings that are similar to, like breakpoints...

Re: @font-face fonts

Posted: Sun Sep 25, 2022 7:14 am
by miguelss
Thanks a lot for your recommendations @wwonderfull & @bluesman!
I really appreciate it.

My problem is that I have a several projects already on production. All with Google Fonts. But now, in Europe this is a violation of the PrivateShield because it share information with the Google Fonts Server, and I need to remove all the Google Fonts.

I can download the Google Fonts from https://google-webfonts-helper.herokuapp.com/fonts and specify it on the project to host the fonts with the webpage. The only problem, is I need to specify the "same" fonts in each project :?

Anyway, thanks a lot for your value help!
Take care, and see you here :)
M.