mbndr / figlet4go

A port of figlet to golang
MIT License
60 stars 9 forks source link

Add a public interface to load bindata fonts in addition to the built-in ones #1

Closed sqshq closed 5 years ago

sqshq commented 5 years ago

This library uses go-bindata for built-in fonts, but there is no way to load custom fonts the same way. This does not allow to use the library in my case.

mbndr commented 5 years ago

Thanks for your PR, you're right, such a function was missing. At the moment I cannot test it but the code looks OK. Does everything work for you?

sqshq commented 5 years ago

Yes, it works as expected for both built-in and my custom fonts.