1

Web ページに 2 つのカスタム フォントがあります。一方は完全に読み込まれますが、もう一方は残念ながら読み込みません。

通常は常に動作するhttp://www.fontsquirrel.com/でフォント ファイルを作成しました。

@font-face {
    font-family: 'cartoonistkooky';
    src: url('#{$fontsDir}cartoonist_kooky-webfont.eot');
    src: url('#{$fontsDir}cartoonist_kooky-webfont.eot?#iefix') format('embedded-opentype'),
         url('#{$fontsDir}cartoonist_kooky-webfont.woff') format('woff'),
         url('#{$fontsDir}cartoonist_kooky-webfont.ttf') format('truetype'),
         url('#{$fontsDir}cartoonist_kooky-webfont.svg#cartoonistkooky') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'hastypudding';
    src: url('#{$fontsDir}hasty_pudding-webfont.eot');
    src: url('#{$fontsDir}hasty_pudding-webfont.eot?#iefix') format('embedded-opentype'),
         url('#{$fontsDir}hasty_pudding-webfont.woff') format('woff'),
         url('#{$fontsDir}hasty_pudding-webfont.ttf') format('truetype'),
         url('#{$fontsDir}hasty_pudding-webfont.svg#hasty_puddingregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

Cartooniskooky は IE8 で表示されず、エラーもありません。

4

0 に答える 0