I found this the other day and thought I'd post it for those who haven't seen it.
It's an archive of theory books that can be downloaded for free.
Here's the site...https://archive.org
There is an excellent filter and search engine in the music category. I found a few of my favourite text books easily enough including this for all you fugue geeks.....