<meta charset=utf-8> <style> @font-face { font-family: noto-nastaliq; src: url(../fonts/NotoNastaliqUrdu-Regular.ttf); } body { font: 40px/200px noto-nastaliq; } div { text-align: center; margin: 10px; border: 1px solid gray; width: 200px; height: 200px; float: left; } .v2 { writing-mode: sideways-lr; } </style> <div>نوٹو نستعلیق</div> <div class="v2">نوٹو نستعلیق</div>