Skip to content

Instantly share code, notes, and snippets.

@logichub
Last active August 29, 2015 14:16
Show Gist options
  • Save logichub/94a0e785ecc5880a92b4 to your computer and use it in GitHub Desktop.
Save logichub/94a0e785ecc5880a92b4 to your computer and use it in GitHub Desktop.
/* Urdu font is available at https://github.com/logichub/urdu-fonts-support/tree/master/public/css/fonts
* Put following CSS code in your style.css or custom.css
* Copy fonts folder in your css file directory
*/
@font-face {
font-family: 'Urdu';
src: url('fonts/urdufont.eot');
src: url('fonts/urdufont.eot?#iefix') format('embedded-opentype'),
url('fonts/urdufont.woff') format('woff'),
url('fonts/urdufont.ttf') format('truetype'),
url('fonts/urdufont.svg#entypo') format('svg');
font-weight: normal;
font-style: normal;
}
.lh-rtl-content {
font-family: 'Urdu', sans-serif;
direction: rtl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment