Commit Graph

  • f53d9fb704 font: web canvas shaper yields runs Mitchell Hashimoto 2022-12-07 18:29:49 -08:00
  • dd71456f35 font: shapers init with allocator since web canvas needs to init buffer Mitchell Hashimoto 2022-12-06 13:39:18 -08:00
  • 760f0c057c renderer: use new shaper structs Mitchell Hashimoto 2022-12-06 13:25:52 -08:00
  • f0b7fbecee font: extract common shaper elements out Mitchell Hashimoto 2022-12-06 13:23:53 -08:00
  • e3c18f3f51 font: move shaper into comptime interface Mitchell Hashimoto 2022-12-06 11:20:37 -08:00
  • b043748794 Merge pull request #62 from mitchellh/web-emoji Mitchell Hashimoto 2022-12-06 11:01:27 -08:00
  • 6aa212707e font: web canvas can render emoji Mitchell Hashimoto 2022-12-06 10:55:42 -08:00
  • 41cbc1a323 wasm: show color atlas in example web app Mitchell Hashimoto 2022-12-05 21:33:54 -08:00
  • 10f708ee65 wasm: export terminal core API Mitchell Hashimoto 2022-12-05 21:27:20 -08:00
  • 95b89149aa Merge pull request #61 from mitchellh/font-group Mitchell Hashimoto 2022-12-05 21:18:55 -08:00
  • 5993528f33 font: GroupCache is wasm compatible Mitchell Hashimoto 2022-12-05 21:01:56 -08:00
  • 62990bb33e font: Group is now wasm-compatible Mitchell Hashimoto 2022-12-05 20:52:03 -08:00
  • aaa0d46b5d font: web canvas doesn't support discovery Mitchell Hashimoto 2022-12-05 20:37:17 -08:00
  • 5291501251 font: DeferredFace is wasm-compatible Mitchell Hashimoto 2022-12-05 20:28:50 -08:00
  • e71dc470fd Merge pull request #60 from mitchellh/font-canvas Mitchell Hashimoto 2022-12-05 17:02:37 -08:00
  • 2a74330911 font: begin making Group work with wasm Mitchell Hashimoto 2022-12-05 16:08:20 -08:00
  • d2afddb7e2 font: fix some JS memory leaks Mitchell Hashimoto 2022-12-05 15:45:31 -08:00
  • ed4e8c36b0 font: add 1 to the canvas glyph to avoid clipping Mitchell Hashimoto 2022-12-05 15:37:55 -08:00
  • 25f2f1a652 font: fix glyph offset calculations for render Mitchell Hashimoto 2022-12-05 15:25:09 -08:00
  • 5e9dd02eab font: add method for drawing atlas to canvas Mitchell Hashimoto 2022-12-05 15:01:34 -08:00
  • 84f6f37450 face: web canvas glyph rendering appears to work! Mitchell Hashimoto 2022-12-05 14:28:10 -08:00
  • 19e326dab6 font: working on rendering glyphs in canvas Mitchell Hashimoto 2022-12-05 10:54:40 -08:00
  • d3b46eeeaf fix zig-js so wasm-test works Mitchell Hashimoto 2022-12-04 22:07:50 -08:00
  • df302fc2b6 calculate font metrics via canvas Mitchell Hashimoto 2022-12-04 22:01:58 -08:00
  • 37f00ac725 don't export coretext/freetype Mitchell Hashimoto 2022-12-04 13:19:29 -08:00
  • c48d8cd151 hook up logging to wasm, example uses new zig-js package Mitchell Hashimoto 2022-12-04 13:16:54 -08:00
  • 437f1772f1 logging works for wasm Mitchell Hashimoto 2022-12-04 12:29:11 -08:00
  • 940828ed97 font: web canvas creates a canvas element Mitchell Hashimoto 2022-12-03 22:11:01 -08:00
  • 21faf0b6fb add zig-js Mitchell Hashimoto 2022-12-03 21:46:00 -08:00
  • fc618d37b2 Merge branch 'wasm' Mitchell Hashimoto 2022-12-03 21:36:21 -08:00
  • f82593bcae update zig Mitchell Hashimoto 2022-12-03 21:35:31 -08:00
  • 1840829e9e add node for web stuff Mitchell Hashimoto 2022-12-03 21:34:14 -08:00
  • c32219554a blank out web canvas impl Mitchell Hashimoto 2022-11-30 17:47:32 -08:00
  • b858aea124 Start scaffolding web_canvas backend Mitchell Hashimoto 2022-11-30 15:05:09 -08:00
  • 6b101c2293 support unit testing wasm via wasmtime Mitchell Hashimoto 2022-11-30 15:04:45 -08:00
  • 3a4d881444 wasm allocator, consider "host-owned" pointers Mitchell Hashimoto 2022-11-30 15:00:39 -08:00
  • 24cc01e055 move wasm main to src/, export an Atlas API Mitchell Hashimoto 2022-11-29 12:24:46 -08:00
  • fe805f1031 update zig Mitchell Hashimoto 2022-12-01 12:59:40 -08:00
  • 6ad45f0237 update zig Mitchell Hashimoto 2022-11-30 16:54:04 -08:00
  • 67f8c231f8 update nixpkgs to 22.11 Mitchell Hashimoto 2022-11-29 14:44:36 -08:00
  • 8ac759fa52 update zig again Mitchell Hashimoto 2022-11-29 13:00:57 -08:00
  • 88c37fb617 update zig version Mitchell Hashimoto 2022-11-29 12:57:42 -08:00
  • 7c4d024aba update mach for macOS Ventura Mitchell Hashimoto 2022-11-29 10:13:21 -08:00
  • f871630fa4 move Atlas to font Mitchell Hashimoto 2022-11-28 10:35:46 -08:00
  • 2796a0b964 font: when resizing a glyph, scale metrics by same ratio Mitchell Hashimoto 2022-11-27 22:06:25 -08:00
  • 29cc8312d5 revert Mitchell Hashimoto 2022-11-27 21:45:10 -08:00
  • 4a3376d916 fix crash with cursor going off screen on resize Mitchell Hashimoto 2022-11-27 21:06:11 -08:00
  • b8832833cb respect application cursor keys for arrow (DECCKM) Mitchell Hashimoto 2022-11-27 20:57:58 -08:00
  • 0e55f4054e font: Shaper should replace 0 with 0x20 (space) Mitchell Hashimoto 2022-11-27 20:25:09 -08:00
  • ddaed26f10 update TODO Mitchell Hashimoto 2022-11-27 20:16:39 -08:00
  • 51ff0bbd7c Merge pull request #58 from mitchellh/underline-styles Mitchell Hashimoto 2022-11-27 16:23:21 -08:00
  • 379072566f remove underline support from shaders since we now use sprites Mitchell Hashimoto 2022-11-27 16:18:00 -08:00
  • 2b9a47edb2 metal: underline styles Mitchell Hashimoto 2022-11-27 16:15:22 -08:00
  • bfc657395a curly underlines Mitchell Hashimoto 2022-11-27 16:11:15 -08:00
  • fee681ac78 dashed underlines Mitchell Hashimoto 2022-11-27 15:44:12 -08:00
  • 6a32a30a16 font: render dotted underlines Mitchell Hashimoto 2022-11-27 15:39:18 -08:00
  • c2d08c3071 terminal: parse all underline styles Mitchell Hashimoto 2022-11-27 15:39:12 -08:00
  • 5045e51b99 unknown underline styles render a single underline Mitchell Hashimoto 2022-11-27 15:30:49 -08:00
  • d7fe6a1c47 fix sgr parsing for underline styles Mitchell Hashimoto 2022-11-27 15:30:02 -08:00
  • 3a248f6051 opengl: render underlines using sprite system, not shaders Mitchell Hashimoto 2022-11-27 15:18:03 -08:00
  • 278668c953 font: draw single and double underlines as sprites Mitchell Hashimoto 2022-11-27 15:14:49 -08:00
  • 584149121d use enum for underline styles Mitchell Hashimoto 2022-11-23 09:10:19 -08:00
  • 84efd2ac5f font: use Canvas more, Canvas rect Mitchell Hashimoto 2022-11-27 14:08:15 -08:00
  • 28d386967d font: introduce Canvas, start converting Box Mitchell Hashimoto 2022-11-27 13:54:43 -08:00
  • abfffdcabe pkg/pixman: more getters Mitchell Hashimoto 2022-11-27 13:54:30 -08:00
  • b34e336c5c rearrange box rendering to prepare for more sprite drawing Mitchell Hashimoto 2022-11-27 10:17:12 -08:00
  • 3fbeca914b terminal: fix possible crash when increasing columns in resize Mitchell Hashimoto 2022-11-26 17:43:58 -08:00
  • d64b0e371e terminal: copy grapheme map when resizing and ensure proper cleanup Mitchell Hashimoto 2022-11-26 17:33:52 -08:00
  • e877dbf861 Merge pull request #56 from mitchellh/pixman Mitchell Hashimoto 2022-11-25 15:39:03 -08:00
  • b365ccca0b fix comment Mitchell Hashimoto 2022-11-25 15:38:45 -08:00
  • f01930695a metal: continue to render if single cell fails Mitchell Hashimoto 2022-11-25 15:30:03 -08:00
  • 1062a39681 more glyphs Mitchell Hashimoto 2022-11-25 15:28:47 -08:00
  • 4cac375fcf more Mitchell Hashimoto 2022-11-25 15:22:59 -08:00
  • d2727b1f5c more wedges Mitchell Hashimoto 2022-11-25 15:18:36 -08:00
  • 120dfb4043 more wedges Mitchell Hashimoto 2022-11-25 15:12:34 -08:00
  • 2c9b3e2f9b wedge triangles Mitchell Hashimoto 2022-11-25 15:02:12 -08:00
  • 7676c1c52b sextants Mitchell Hashimoto 2022-11-25 14:41:17 -08:00
  • 781571d7fb braille Mitchell Hashimoto 2022-11-25 14:26:19 -08:00
  • 43c89cb449 more glyphs Mitchell Hashimoto 2022-11-25 14:10:31 -08:00
  • 88ff221d6d pkg/pixman: fill rects Mitchell Hashimoto 2022-11-25 14:10:25 -08:00
  • 353172199a lot more boxes Mitchell Hashimoto 2022-11-25 13:53:24 -08:00
  • f727b30ca6 more box fonts Mitchell Hashimoto 2022-11-25 13:36:26 -08:00
  • f1a052640c pkg/pixman: rasterize trapezoids Mitchell Hashimoto 2022-11-25 13:23:00 -08:00
  • 179f5e6283 opengl: continue rendering if single cell has error Mitchell Hashimoto 2022-11-25 13:16:07 -08:00
  • 8ad5dd1853 arc glyphs Mitchell Hashimoto 2022-11-25 12:22:21 -08:00
  • 336d2c4e13 pkg/pixman: more image APIs Mitchell Hashimoto 2022-11-25 11:34:31 -08:00
  • 72cd107e6a many more boxes Mitchell Hashimoto 2022-11-25 10:57:38 -08:00
  • ef16ba263f 16 more Mitchell Hashimoto 2022-11-25 10:40:33 -08:00
  • 58292e5930 16 more Mitchell Hashimoto 2022-11-24 12:01:15 -08:00
  • dcd16c4d95 16 more Mitchell Hashimoto 2022-11-24 11:49:17 -08:00
  • d8561ba23a 16 more Mitchell Hashimoto 2022-11-24 11:27:32 -08:00
  • 8033a4a665 more Mitchell Hashimoto 2022-11-24 11:16:22 -08:00
  • 3b3c93af02 metal: support for box glyphs Mitchell Hashimoto 2022-11-24 10:05:25 -08:00
  • fc8f36a59e more glyphs for the glyph god Mitchell Hashimoto 2022-11-24 10:00:57 -08:00
  • 6e30238d36 more... more... Mitchell Hashimoto 2022-11-24 09:49:02 -08:00
  • fbd5eba11a font: more box glyphs Mitchell Hashimoto 2022-11-24 09:31:16 -08:00
  • cb8f55229b remove test code Mitchell Hashimoto 2022-11-24 09:22:04 -08:00
  • 6b2ca86ed8 fix offset for box glyphs Mitchell Hashimoto 2022-11-24 09:12:34 -08:00
  • b9f97217ab font: shaper handles special fonts Mitchell Hashimoto 2022-11-24 08:59:14 -08:00
  • 9bc8d85d67 test rendering box glyphs, looks OKAY Mitchell Hashimoto 2022-11-24 08:46:33 -08:00