Embed font
-
I want to use my own embed font for title/general and etc.
I copied my fonts to tempera/fonts/ (.ttf,.svg,.eot,.woff)
and added this to fontaces.css:
@font-face {
font-family: 'Naskh';
src: url('DroidNaskh-Regular.eot');
src: url('DroidNaskh-Regular.eot?#iefix') format('embedded-opentype'),
src: url('DroidNaskh-Regular.woff') format('woff'),
src: url('DroidNaskh-Regular.ttf') format('truetype'),
src: url('DroidNaskh-Regular.svg#naskhregular') format('svg');
font-weight: normal;
font-style: normal;
}
and added this to sanitize.php:
$fonts = array('Theme Fonts' => array(
"Droid Sans",
"Naskh",The Naskh has been added to the control panel of Tempera,
But when I change general and Title fonts to “Naskh” I don’t see any changes in website.What should I do more?
- The topic ‘Embed font’ is closed to new replies.