@font-face {
font-family: "Frodo Simplified Italic";
src: url("../resources/FrodoSimplified_It.ttf");
}
Utilizing a HTML5 application that is embedded within an iframe of a webview includes the CSS statement above. The fonts specified within the statement are accessible in the application, with the ttf file being stored in the resources section of the app. For instance, on iOS, it would be located in the Resources folder of the XCode project for the application.
The question arises whether the src
attribute prompts the server to retrieve the font's ttf file, even if it is locally available to the app, or if it utilizes the local fonts instead.
I am aiming for the PhoneGap application to utilize the local ttf files on both iOS and Android platforms.