Created
July 9, 2018 09:43
-
-
Save kyawhtut-cu/acb3858d34fbd215513e076008e109f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Font embed with css injection</title> | |
<style> | |
@font-face{ | |
font-family: "PAOH Font"; | |
src: url('resource/fonts/smartzg.ttf') format("truetype"); | |
} | |
*{ | |
font-family: "PAOH Font",Verdana, Tahoma; | |
} | |
</style> | |
</head> | |
<body> | |
<h3>Now you can use myanmar text with font embed.</h3> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment