stiahol som si pekný font Bebas Neue s diakritikou vo formáte ttf. Prehnal som ho cez fontsquirrel generátor aby som dostal aj .woff a .eot súbory. Keď si otvorím v okne ten .ttf súbor z písmom, ukáže tam testovací text spolu s diakritikou, no keď ho dám na web cez font-face, tak mi font načíta, klasický text ide, ale nenačíta znaky z interpunkciou a diakritikou.
Viete náhodou v čom môže byť problém?
Zápis font-face:
Kód: Vybrať všetko
@font-face {
font-family: 'bebas_neue_regular';
src: url('fonts/BebasNeue Regular-webfont.eot');
src: url('fonts/BebasNeue Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/BebasNeue Regular-webfont.woff2') format('woff2'),
url('fonts/BebasNeue Regular-webfont.woff') format('woff'),
url('fonts/BebasNeue Regular-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}//autoeditácia príspevku (08 Mar 2015, 20:36)
nakoniec som na to prišiel