• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

It's posible to use @font-face calls directly in my CSS

New Here ,
May 05, 2022 May 05, 2022

Copy link to clipboard

Copied

Hi, We are having Performance problems with the typekit imports calls, bacause we can't preload it and it calls to an extra domain we can't preconnect.

So It will be possible to ad to our CSS directly de @Font-face of each font instead of this 

@Import url("https://use.typekit.net/xxxxxxx.css");

We would like to ad this to our CSS:

@Font-face {
font-family:"xxxx-xx";
src:url("https://use.typekit.net/xxx") format("woff2"),url("https://use.typekit.net/xxx") format("woff"),url("https://use.typekit.net/xxx") format("opentype");
font-display:swap;font-style:normal;font-weight:700;font-stretch:normal;
}

 

thanks

Jose

TOPICS
Font rendering , How to

Views

131

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 06, 2022 May 06, 2022

Copy link to clipboard

Copied

Which CS5 app is this question about, please?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 06, 2022 May 06, 2022

Copy link to clipboard

Copied

LATEST

Sorry! Not seeing clearly yet. Of course it was about CSS, not CS5, and this is the best place to ask.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines