added custom glyph support as well as unix-style newlines. Will update readme soon.