Terminus font isn't rendered
l4l opened this issue · 5 comments
First of all thank you for your effort, really worthy contribution!
I tried to use different fonts and had an issue with Terminus font (as an example: ter-u22n.otb.gz): it doesn't render at all and there's no error returned. I'm not sure whether it's a ttf-parser issue or fontdue.
I wrote a simple gist (btw, is it worth to add to examples there?) that renders text to png and to reproduce the issue it should be sufficient to change the font path.
Mind sending me the uncompressed ttf/otf?
Have you tried using the reference examples to validate it occurs there too? I don't have time to review your gist.
Unfortunately github doesn't allow otb file extension (which is actually ttf), so I can either give a link to dropmefiles or send via email if you'd like. The gist is working fine for most of the fonts I tried (Dejavu Sans Mono, Noto Sans, Hack , Open Sans, Fira Code) except Terminus.
Maybe you have a bad font, or it's supplying glyphs via an unsupported means like bitmap. I don't support bitmap glyphs as of yet.
I put your ter-u22n.ttf into a 3rd party glyph inspector and... nothing.
Yeah, the package describes it as a bitmap font indeed, though /usr/bin/file
says it's a ttf. Anyway using the font from your link works fine for me, thanks.