I have a div element containing text with font family to set to custom font which is specified in CSS via @font-face attribute. Since fonts are loaded only after they are being