13 Commits

Author SHA1 Message Date
Mitchell Hashimoto
b18309187e Strikethrough (#19)
Not as straightforward as it sounds, but not hard either:

* Read OS/2 sfnt tables from TrueType fonts
* Calculate strikethrough position/thickness (prefer font-advertised if possible, calculate if not)
* Plumb the SGR code through the terminal state -- does not increase cell memory size
* Modify the shader to support it

The shaders are getting pretty nasty after this... there's tons of room for improvement. I chose to follow the existing shader style for this to keep it straightforward but will likely soon refactor the shaders.
2022-10-06 15:03:19 -07:00
Mitchell Hashimoto
8a1d7070b3 render wide chars 2022-08-20 16:49:55 -07:00
Mitchell Hashimoto
22ed65a818 really hacked in emoji support, time to clean it up 2022-08-20 10:37:11 -07:00
Mitchell Hashimoto
f53efa633a initial underline support, can be improved 2022-06-28 14:22:25 -07:00
Mitchell Hashimoto
75c3dc4386 render: bar cursor style 2022-05-20 13:17:31 -07:00
Mitchell Hashimoto
724b2aedfa various fixes for macos 2022-04-24 10:14:25 -07:00
Mitchell Hashimoto
d510d3c9a2 define gl_FragColor for macos 2022-04-23 14:20:25 -07:00
Mitchell Hashimoto
bbaa28fce1 style 2022-04-22 22:01:57 -07:00
Mitchell Hashimoto
bd7855da46 when losing focus, show hollow box 2022-04-22 21:58:15 -07:00
Mitchell Hashimoto
e2ed1ed745 shader modes, draw a jank cursor 2022-04-19 13:54:50 -07:00
Mitchell Hashimoto
c43c1d38f1 add background pass 2022-04-19 08:54:39 -07:00
Mitchell Hashimoto
81d8ca5b9c render text from our terminal! 2022-04-18 17:57:08 -07:00
Mitchell Hashimoto
544286509f grid render a few cells 2022-04-14 17:14:49 -07:00