font-style italic not working
-
Hi, great plugin especially when you have a lot of websites where you need local fonts!
I tested this plugin on multiple websites and it breaks italic font-styles, i.e. italic fonts are displayed non-italic.
When I had a look at the generated CSS, you can see that italic fonts use the same woff/woff2 files as their non-italic counterpart.
Can you please advise?
@font-face {
font-family: “Ubuntu”;
font-weight: 300;
font-style: normal;
src: local(‘Ubuntu Light’), local(‘Ubuntu-Light’), url(https://***/wp-content/uploads/sites/10/sgf-css/4iCv6KVjbNBYlgoC1CzjsGyNPYZvgw.woff2) format(‘woff2’), url(https://***/wp-content/uploads/sites/10/sgf-css/4iCv6KVjbNBYlgoC1CzjsGyL.woff) format(‘woff’);
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: “Ubuntu”;
font-weight: 300;
font-style: italic;
src: local(‘Ubuntu Light’), local(‘Ubuntu-Light’), url(https://***/wp-content/uploads/sites/10/sgf-css/4iCv6KVjbNBYlgoC1CzjsGyNPYZvgw.woff2) format(‘woff2’), url(https://***/wp-content/uploads/sites/10/sgf-css/4iCv6KVjbNBYlgoC1CzjsGyL.woff) format(‘woff’);
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
- The topic ‘font-style italic not working’ is closed to new replies.