Skip to content

Instantly share code, notes, and snippets.

@realbardia
Created March 30, 2020 18:20
Show Gist options
  • Save realbardia/5b5507d010f72402ad83afeb26772c7a to your computer and use it in GitHub Desktop.
Save realbardia/5b5507d010f72402ad83afeb26772c7a to your computer and use it in GitHub Desktop.
Telegram Persian font configs
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<test name="family" qual="any">
<string>sans serif</string>
</test>
<edit mode="assign" binding="same" name="family">
<string>IranSans</string>
</edit>
</match>
<dir>~/.local/share/TelegramDesktop/tdata/fonts/</dir>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment