i am going to print one student certificate . but according to customer requirement they want "wedding text". can i use wedding text for my font ? how to use it in css ?
I have downloaded one package and used it in text editor .
<p style="font-family:'A Dark Wedding';">Akila H Joshef </p>
Try this
@font-face {
font-family: myFont;
src: url(font_name.extenstion);
}
div {
font-family: myFont;
}
Convert your font to all cross browser font formats using Font Squirrel
You can convert fonts and download @font-face
css too.
Example @font-face
CSS:
@font-face {
font-family: 'MyWebFont';
src: url('webfont.eot'); /* IE9 Compat Modes */
src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('webfont.woff2') format('woff2'), /* Super Modern Browsers */
url('webfont.woff') format('woff'), /* Pretty Modern Browsers */
url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */
url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}