i imported a custom font to my css. the problem is special characters like apostrophs and commas are not shown in html. my idea was to make a fallback to another font for not supported characters, but have no clue how to.
Here is a piece auf my code
HTML
<h2>apostrophe isn't shown</h2>
CSS
@font-face { font-family: 'SunriseInternational';
src: url('fonts/SunriseInternational.otf') format('otf'),
url('fonts/SunriseInternational.ttf') format('truetype'); }
h1,
h2,
.h1,
.h2 {
font-family: 'SunriseInternational', 'Branding-Medium', sans-serif;
font-size: 8vw;
color: #ffffff;
letter-spacing:2px;
}
Branding-Medium is a font that supports special characters in the main text. But the fallback seems not to work.