0
我正試圖用Compass's font-face function導入字體。我給下面的指令:指南針錯誤使用font-face()時出現「無法確定字體類型」
@include font-face("Avenir", font-files("Avenir.ttc"));
而且得到了以下錯誤:
error assets/styles/sass/styles.scss (Line 1 of assets/styles/sass/_typography.scss: Could not determine font type for "Avenir.ttc")
我沒有指定我config.rb文件fonts_dir
,但我的字體文件都放在<css_styles>/fonts
目錄,根據上面鏈接的文檔是默認位置。
有人知道這裏可能會出錯嗎?