언어 설정

Menu
Sites
Language
Can not use font-face

Hi,

I try to use the @font-face css command but all my tries doesn't work. Have anyone can use font-face on his application?

my way

@font-face {font-family: One; src: url('../images/fonts/OneStarryNight.ttf');}
body {font-family: One;}

but it use always the normal TizenSans font :( Is it possible on Tizen to use a own font? I know the font module is currently not complete implemented.

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 댓글
Raghavendra Reddy Shiva
Have quickly checked (on emulator) the below code, it works. .myfont { font-family:myFirstFont; } @font-face { font-family: myFirstFont; src: url('http://www.w3schools.com/css3/Sansation_Light.ttf'); } It seems in your case the font-face tags are being ignored. This might be due to error in css parsing. So please double check the CSS code for any syntactical errors.
Marco Buettner
Thanks I found a soluation. It doesn't work with you set body the font-family you have to create a own class and add it to your data-role="page" and on header, footer items :)