I have a simple markdown like this:
---
dir: rtl
title: "درس روش پژوهش و ارائه"
author: "امیر شبانی"
date: "یکشنبه - ۱ دی ۱۳۹۸"
---
I save it in a file named Presentation.md
and compile using this command:
pandoc Presentation.md -t beamer -o Presentation.pdf --pdf-engine=xelatex -V mainfont="Sahel"
The command runs without any error, but the font is not showing properly:
If I change the font from Sahel
to BNazanin
, it works fine:
But I'm interested in Sahel
font. Is there any way I can fix it?
I don't think the font is corrupt, because it's showing fine in other programs, such as
VSCode:
Telegram:
Firefox: