pytroll / aggdraw

Python package wrapping AGG2 drawing functionality
https://aggdraw.readthedocs.io/en/latest/
Other
98 stars 48 forks source link

Try to address font failures when pkgconfig not installed #75

Open eteq opened 3 years ago

eteq commented 3 years ago

This PR does two things that might be considered partial fixes for #74 :

  1. Adds a print statement that lets the user know pkgconfig wasn't found and installing it might help
  2. Adds a test that tries to open a font file.

Neither fully address the underlying problem in #74 that the pip install doesn't work, but this should at least make it easier to troubleshoot in the future.

eteq commented 3 years ago

I think the test failure is symptomatic of the underlying problem that leads to #74! :shrug: