the problem is gone !
I just delete “/wp-content/fonts” the “fonts” directory and reload the website page , then the “fonts” directory recreate and redownload the fonts in “/wp-content/fonts” and the css path automatically becomes the website url not the local url:
——————–if the fonts css src url looks like the follow———–
@font-face {
font-family: ‘Oswald’;
font-style: normal;
font-weight: 400;
src: url(C:\Bitnami\wampstack-7.3.13-0\apps\wordpress\htdocs/wp-content/fonts/oswald/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUtiYySUhiCXABTV.woff) format(‘woff’);
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
——-then delete “/wp-content/fonts” the “fonts” directory and reload the site–
——-Now the src url is the site url————————————————
@font-face {
font-family: ‘Oswald’;
font-style: normal;
font-weight: 400;
src: url(https://yourwebsite.com/wp-content/fonts/oswald/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUtiYySUhiCXABTV.woff) format(‘woff’);
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
————————————————————————————–