Posts

Post not yet marked as solved
10 Replies
8k Views
We are having the below weird issue on 14.x devices Issue :    My application is a hybrid application. We have noticed an issue on 14.x related to loading the fonts mentioned in our CSS. The font file is not getting loaded occasionally. We couldn't infer much what is hindering the font loading on 14.x. In the previous version of iOS, this just works fine.   CSS:   @font-face{  font-family: "custom-font";src: url("fonts/custom-font.woff2")format("woff2"),  url("fonts/custom-font.woff")format("woff"),  url("fonts/custom-font.ttf")format("truetype") }     The above style sheet is linked to the page that we are loading.   Has anyone observed this issue on your project ? If so, please let us know the approach followed to resolve the same.     We also tried to follow the approach where the font file is loaded by native portion. The below approach works fine on iPhone Simulator but not on device, no clue why it's so   Added the font to the App and the file is targeted properly (Fonts provided by application key is updated). Ensure that the specific font is loaded and available using logs Used the font family in our CSS (we don't have to load the font on WkWebView space)
Posted
by mspathy.
Last updated
.