Hey Guys!
Could someone suggest some good “open-source” resources for downloading Web Fonts to use with Cordova Hybrid Apps?
Thanks in advance!
Hey Guys!
Could someone suggest some good “open-source” resources for downloading Web Fonts to use with Cordova Hybrid Apps?
Thanks in advance!
Hi @nicraboy ,
Thanks for the reply. I’ve been following your posts on Youtube/blogs.It’s really handy and useful.
Maybe my question was not very clear -
Where can I download open source Fonts like “Comic Sans” or “Helvetica” to use on Hybrid Apps?
I need some new Font-Text style to use in the App.
@naveenkarippai1 you can include external fonts multiple ways
@font-face
declarations.@font-face {
font-family: "customfont";
src: url("./fonts/arial.ttf") format("opentype");
/* Make sure you defined the correct path, which is related to
the location of your css file */
}
body {
font-family: "customfont";
font-size:30px;
}
The down side of this is that you are include more files so your app size will go up.
Google web fonts is a quick solution, but if your app isn’t connect to the internet, you won’t be able to load the font, so make sure you declare a fall back.
body{
font-family: 'Open Sans', sans-serif;
}