lundi 16 mai 2016

how can I test a font to see if it is corrupted

I downloaded a font, but the browser doesn't recognize it...

here is the css:

@font-face 
{
    font-family: fuente1;
    src: url(../fonts/HelveticaNeueLTStd-BdCn.ttf);
}

@font-face 
{
    font-family: fuente2;
    src: url(../fonts/HelveticaNeueLTStd-BdCn.ttf);
}

.navbar-nav>li 
{
    float: none !important;
    margin-top: 10px;
    font-size:  18px;
    font-family: "fuente1";
}

.navbar-nav>span 
{
    float: none !important;
    margin-top: 10px;
    font-size:  18px;
    font-family: "fuente2";
}

the error I get in the browser is this:

Failed to decode downloaded font: file:///C:/Users/Jose/Desktop/PaginaProducto/fonts/fuente2.ttf
OTS parsing error: cmap: Range glyph reference too high (65535 > 236)
Failed to decode downloaded font: file:///C:/Users/Jose/Desktop/PaginaProducto/fonts/fuente3.ttf
OTS parsing error: cmap: Failed to parse format 4 cmap subtable 0

so I don't know how to fix this. I don't know if the file is corrupt, how can I know?

Aucun commentaire:

Enregistrer un commentaire