Faced a strange problem - the fonts that I plug into CSS are not always displayed correctly.
CSS:
@font-face { font-family: RobotoRegular; src: url(Roboto-Regular.ttf); } @font-face { font-family: RobotoMedium; src: url(Roboto-Medium.ttf); } body { font-family: RobotoRegular; } .material-button { font-size: 16px; display: inline-block; background-color: #507299; border: none; border-radius: 2px; padding: 0 16px !important; height: 36px; line-height: 36px; white-space: nowrap; font-family: RobotoMedium; font-size: 14px; text-transform: uppercase; color: #ffffff; } Font Awesome connects in a standard way, installed via bower.
HTML:
<button type="button" class="material-button"> <i class="icon fa fa-arrow-down"></i> Загрузить </button> Normally, everything should look like this:
But sometimes, for no reason at all, the fonts appear like this:
Usually, this happens immediately after loading the site to the hosting. Say, the first 10 times on the page, the fonts are not displayed correctly, and then - fine ...
With what it can be connected?

