callmearta / clubhouse-desktop

An unofficial Clubhouse desktop client
Other
214 stars 38 forks source link

Clubhouse font is not readable for Farsi letters in Linux #23

Closed Gictorbit closed 3 years ago

Gictorbit commented 3 years ago

Clubhouse font is not readable for Farsi letters in Linux I think you are using Clubhouse on macOS based on screenshot in README, and Farsi font is pretty there because of default font system, in Linux we don't have macOS fonts and it's not readable

image

callmearta commented 3 years ago

I haven't came across any free to use Farsi fonts which also has a good English font too. If you know one let me know.

Gictorbit commented 3 years ago

I think Vazir would be a great choice, it's open source and supports both English and Farsi letters. that's why Telegram Desktop uses vazir

Gictorbit commented 3 years ago

I solved this issue by adding fonts config file in config directory path: ~/.config/fontconfig/fonts.conf

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>

 <match>
  <edit mode="prepend" name="family">
   <string>Vazir</string>
  </edit>
 </match>

 <dir>~/.local/share/fonts</dir>
 <dir>/usr/share/fonts/</dir>
 <dir>~/.fonts</dir>

</fontconfig>