chjj / ttystudio

A terminal-to-gif recorder minus the headaches.
Other
3.24k stars 93 forks source link

Special characters fonts? #26

Open FallingSnow opened 7 years ago

FallingSnow commented 7 years ago

I tried to compile my own font using the BDFs from https://github.com/powerline/fonts/tree/a44abd0e742ad6e7fd8d8bc4c3cad5155c9f3a92/Terminus/BDF but it still results in a white box for special characters :(

Original: screenshot from 2017-06-14 14-27-18

Output: screenshot from 2017-06-14 14-26-43

The quality is much worse as well.

inferiorhumanorgans commented 6 years ago

FWIW I've hacked up a quick solution that renders ttystudio files with Canvas so that you get nicer output. It is limited to OTF/TTF fonts as it uses opentype.js. Font substitution needs some work and SVG output is on the horizon.