Check out example codes for "otf css3 font-face". It will help you in understanding the concepts better.

Code Example 1

@font-face {
    font-family: GraublauWeb;
    src: url("path/GraublauWeb.otf") format("opentype");
}

Learn ReactJs, React Native from akashmittal.com