jyotisham / jyotisha

Python tools for the astronomical / astrological vedAnga of Hindus
MIT License
88 stars 53 forks source link

PDF generation - include font in package #12

Closed vvasuki closed 5 years ago

vvasuki commented 6 years ago

Context: https://github.com/sanskrit-coders/jyotisha/issues/10#issuecomment-351867006

karthikraman commented 6 years ago

Where should the font go? It's ideal the user installs it in ~/.fonts. Alternatively, having it in the tex directory will work -- but that is now \tmp?

vvasuki commented 6 years ago

Just include it in jyotisha/panchangam/scripts/fonts and then use it just as you refer to data directory contents using relative (file) paths?

vvasuki commented 6 years ago

The user shouldn't need to go install some font - either setup.py should do it for him; or the tex commands should be pointed to the right location upon invocation.

karthikraman commented 6 years ago

I think this will come in handy!

karthikraman commented 5 years ago

Fixed long ago.