언어 설정

Menu
Sites
Language
Why google fonts were not applyed in tizen phone?

In tizen simulator the fonts were applyed well.

But the fonts not work in the phone.

How can I apply the google fonts in tizen phone..?

Ah.. Korean not work I think... How can I apply the fonts on korean?

Edited by: 명훈 심 on 03 9월, 2018
답변 바로가기

Responses

1 댓글
Mark as answer
Armaan-Ul- Islam

Download and Add the font to your tizen web project. This will package the font with the tizen web app.

Example:

Create a folder on your project root directory. Suppose 'fontsFolder'.

In your css file, add the font using '@font-face', mention the file location and apply to required field.

@font-face {
   font-family: myCustomFont;
   src: url('../fontsFolder/AlexBrush-Regular.ttf');
}

.customFontSpan{
    font-family: 'myCustomFont'!important;
}
<span class="customFontSpan">Basic</span>

Use '!important' to avoid being overridden.