Languages

Menu
Sites
Language
Developing a Wearable Web app - how to use the new Samsung One font?

I'd like to use the Samsung One font with font weight = 200. The default font is not Samsung One, unfortunately, at least on my Gear S2 :(

Responses

1 Replies
Iqbal Hossain

Hi~

If you found the SamsungOne font ttf file use like this

* Put the ttf file along with the  style.css location

* Use this code like this

style.css

@font-face { font-family: FCB; src: url('barselona.ttf'); } 

.FCBFont{
    font-family: FCB;
}

index.html

<button class="FCBFont" >Button</button>

Thanks