First of all I'm sending email to number of customers that maybe gonna be like 16,000 mails and unfortunately I found issue in my custom font. I can't load it into my mail page. I tried this:
- With link tag in HTML
<link href='https://fonts.googleapis.com/css?family=Droid%20Arabic%20Kufi' rel='stylesheet' type='text/css'>
- With
@font-face
in css:@font-face { font-family: 'Droid Arabic Kufi'; font-style: normal; font-weight: 400; src: url(https://fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.eot); src: url(https://fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'), url(https://fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.woff2) format('woff2'), url(https://fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.woff) format('woff'), url(https://fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.ttf) format('truetype'); }
- With
@import
@import url(http://fonts.googleapis.com/earlyaccess/droidarabickufi.css);
Don't tell me make it images because I can't and the reason is the mail form gonna be generated via PHP.
Any help will be appreciated thanks a lot.
Custom fonts are not well supported in email clients. It's currently not possible to display webfonts in Outlook, Gmail app, or any webmail client. However you can specify a webfont for clients that do support it, and system fallback fonts for those that don't.
Placing something like this inside your
<head>
will get you the best possible coverage:More on webfont support in email on Style Campaign.