diagrams / diagrams-rasterific

Rasterific backend for diagrams
Other
15 stars 12 forks source link

include fonts in `extra-source-files` not `data-files` #56

Closed bergey closed 5 years ago

bergey commented 5 years ago

They are needed at compile time, not at runtime.

I think when the fonts were added to data-files, they were loaded at runtime, with getDataFileName. Now they are loaded with TH at compile time. I've tested that with this change, the fonts are still included in the sdist tarball, and checked that getDataFileName no longer appears in this code.

byorgey commented 5 years ago

Thanks, good catch!