I am facing the problem of brandly handwritten fonts, its Safari is right in Safari, The problem is code here called Mozilla and Chrome.
@ font-face {font-family: "BradleyHandITCBold"; Src: url (BradleyHandTTCBold.T.TF); } .newfont {font-family: 'BradleyHandITCBold'; } Solution: Mozilla and Chrome have only one problem because of its modern browser and TTF font Does not support, so TTF needs to be converted to WOFF or WOFF2. I have converted it to WOFF converter using TTF and it's working perfectly. Here is the code resolved.
@ font-face {font-family: 'BradleyHandITCBold'; Src: url ("css / BradleyHandITCBold.ttf") format ('truetype'); Src: url ("css / BradleyHandITCBold.woff") format ('woff'); } .newfont {font-family: 'BradleyHandITCBold'! Important; Font-size: 31px; }
I am posting here to help other developers in the future. Thank you for your comment @ t.niese
No comments:
Post a Comment