bksubhuti / Tipitaka-Pali-Projector

18 stars 3 forks source link

Minor feature request regarding fonts #219

Closed BBBalls closed 2 years ago

BBBalls commented 2 years ago

I really appreciate the GNU/Linux support you have provided for the TPP, especially the recent AppImage release.

What I have noticed is that the font selections assume Microsoft fonts are installed, so when utilizing the packaged app on Linux, the font selection is extremely limited.

I figured out that fonts can be added to TPP by editing /Tipitaka-Pali-Projector/tipitaka_projector_data/index.htm of the repository clone, so now I can easily select my favorite fonts without changing the default font of my browser. This cannot be done for the packaged application though.

Can you add a couple more font options that are Linux friendly?

Here are some fonts that are very readable, display the diacritical marks correctly, have permissive licenses, and are commonly package fonts on Linux distributions (or easy to find and install):

"DejaVu Serif" and "DejaVu Sans" "FreeSerif" and "FreeSans" "Noto Serif" and "Noto Sans" "Source Serif Pro" and "Source Sans Pro"

Regards

bksubhuti commented 2 years ago

added, and pushed online. The Firefox version (from github zip) should work if you have the fonts.will upload AppImage and others soon..

bksubhuti commented 2 years ago

new deb and appimage have been pushed to the release directory on this project. Snap will wait until next release number

BBBalls commented 2 years ago

Thank you!