2011-11-18 95 views
0

有沒有可能在Android上使用@fontface?如果有的話,任何人都可以解釋我在下面出錯了嗎?fontface Android?

@font-face { 
font-family: 'BloklettersPotlood'; 
src: url('fonts/Blokletters-Potlood-webfont.eot'); 
src: url('fonts/Blokletters-Potlood-webfont.eot?#iefix') format('embedded-opentype'), 
    url('fonts/Blokletters-Potlood-webfont.woff') format('woff'), 
    url('fonts/Blokletters-Potlood-webfont.ttf') format('truetype'), 
    url('fonts/Blokletters-Potlood-webfont.svg#BloklettersPotlood') format('svg'); 
font-weight: normal; 
font-style: normal; 

} 

乾杯 保羅

回答

0

的Android不支持@字體面。我使用相同的語法,並且效果很好(到處都是)。 您是否嘗試過使用其他字體?

Btw。如果您嘗試將字體應用於任何標題,請確保在h1/h2/h3/hx樣式聲明中設置了font-weight: normal;

+0

歡呼聲對你的幫助babca – Dancer

+0

並非所有的Android都是平等的:http://caniuse.com/fontface – Patrick