Commit Graph

  • 15a57983a6 pkg/freetype: remove unused API Mitchell Hashimoto 2022-10-16 21:03:17 -07:00
  • a39fe6baed Use scalable check rather than fixed size check for setting char size Mitchell Hashimoto 2022-10-16 20:55:06 -07:00
  • 2e1bc7bb01 Bring back freetype font bitmap conversion Mitchell Hashimoto 2022-10-16 20:47:21 -07:00
  • 9d37458ed8 update zig Mitchell Hashimoto 2022-10-16 19:47:43 -07:00
  • f29393bca6 Imgui (#20) Mitchell Hashimoto 2022-10-16 16:20:08 -07:00
  • 5e341c09cb Add a "dev mode" window which for now is just imgui demo Mitchell Hashimoto 2022-10-16 16:15:25 -07:00
  • 91b036b387 vendor/cimgui Mitchell Hashimoto 2022-10-16 10:09:53 -07:00
  • ddfb1dec4b Switch to stage2 primarily for builds Mitchell Hashimoto 2022-10-15 15:00:41 -07:00
  • 5b6eb2736a pkg/libpng: name the lib png, so its not "liblibpng" Mitchell Hashimoto 2022-10-15 14:55:11 -07:00
  • 53d00ee8a2 update zig which fixes test on wide terminals Mitchell Hashimoto 2022-10-15 14:36:15 -07:00
  • 2d10ac0a77 opengl: setting buffer data with array must get proper pointer Mitchell Hashimoto 2022-10-15 11:29:25 -07:00
  • c681a197d2 use old version of mach Mitchell Hashimoto 2022-10-15 10:56:23 -07:00
  • 846c9db0c3 get rid of stage2 workaround for now Mitchell Hashimoto 2022-10-15 10:43:39 -07:00
  • 56c9979db5 run tests against both stage1 and stage2 Mitchell Hashimoto 2022-10-14 10:05:13 -07:00
  • 33f51f1f3d update zig Mitchell Hashimoto 2022-10-14 10:04:26 -07:00
  • 6c84199b84 fix more stage2 build errors Mitchell Hashimoto 2022-10-14 10:01:41 -07:00
  • 83c9390ac9 pkg/libuv: workaround stage2 issue Mitchell Hashimoto 2022-10-14 09:57:14 -07:00
  • a1087af7c8 Workaround stage2 compile issue with issue link Mitchell Hashimoto 2022-10-14 09:56:53 -07:00
  • e324e38352 workaround stage2 translate-c issue with link to issue Mitchell Hashimoto 2022-10-14 09:53:23 -07:00
  • b28b04d710 pkg/libuv: fix stage2 compilation issues Mitchell Hashimoto 2022-10-14 09:44:22 -07:00
  • 2d3febac0e fix invalid ptrcast Mitchell Hashimoto 2022-10-14 09:19:58 -07:00
  • c99fb89738 new opengl function calls for stage2 Mitchell Hashimoto 2022-10-14 09:18:33 -07:00
  • e73db24f0e move shaders into src/ tree for stage2 Mitchell Hashimoto 2022-10-14 09:18:20 -07:00
  • 8decfa6452 I think this gets us on master zig... Mitchell Hashimoto 2022-10-13 11:31:02 -07:00
  • 225de43062 update mach to fix stage2 issue Mitchell Hashimoto 2022-10-13 11:06:43 -07:00
  • 699da6fcfe update mach Mitchell Hashimoto 2022-10-13 11:03:23 -07:00
  • e493a722a3 fix some issues that fail nightly stage2 compiler Mitchell Hashimoto 2022-10-13 10:54:30 -07:00
  • a6c3ee3bc2 pkg/macos: fix zig C ABI issue Mitchell Hashimoto 2022-10-10 09:18:57 -07:00
  • 1e23779337 pkg/macos: more stuff Mitchell Hashimoto 2022-10-10 09:03:03 -07:00
  • c75e54fca0 update to API Mitchell Hashimoto 2022-10-09 16:30:26 -07:00
  • 1cf390729e pkg/macos: bitmap info arg Mitchell Hashimoto 2022-10-09 16:29:19 -07:00
  • 276ae4f788 font: fix some coretext rendering issues Mitchell Hashimoto 2022-10-09 11:45:02 -07:00
  • 9c99a49ac5 font: deferred face can load core text backend Mitchell Hashimoto 2022-10-09 11:28:28 -07:00
  • 97e989daa8 font: coretext initial render glyph Mitchell Hashimoto 2022-10-09 11:23:57 -07:00
  • 1b7bc052d4 font: coretext calculate cell metrics Mitchell Hashimoto 2022-10-09 10:57:19 -07:00
  • 150b0a4d51 font: calculate cell height Mitchell Hashimoto 2022-10-09 08:51:30 -07:00
  • 8b3959dceb macos: frames, attributed strings, stylized strings Mitchell Hashimoto 2022-10-09 08:07:56 -07:00
  • 1e2e4169a5 pkg/macos: starting frames Mitchell Hashimoto 2022-10-08 17:52:01 -07:00
  • cc14344bf8 pkg/macos: path Mitchell Hashimoto 2022-10-08 17:39:25 -07:00
  • 061f7f6a30 pkg/macos: text framesetter Mitchell Hashimoto 2022-10-08 17:29:50 -07:00
  • 26280d4fe5 macos: AttributedString Mitchell Hashimoto 2022-10-08 17:24:33 -07:00
  • a97f997f9a font: start working on core text cell height calcs Mitchell Hashimoto 2022-10-08 17:03:09 -07:00
  • 22f437aac6 font: coretext cell width calculation Mitchell Hashimoto 2022-10-08 11:49:23 -07:00
  • c9a335646e pkg/macos: some font metrics functions Mitchell Hashimoto 2022-10-08 11:34:45 -07:00
  • f393049988 fix compilation Mitchell Hashimoto 2022-10-08 11:25:54 -07:00
  • 0e167ae24c font: coretext initialize face from memory Mitchell Hashimoto 2022-10-08 11:21:24 -07:00
  • 26629bcb6e pkg/macos: create fonts from data Mitchell Hashimoto 2022-10-08 10:21:33 -07:00
  • d0e269df6a macos: data Mitchell Hashimoto 2022-10-08 10:20:48 -07:00
  • 240c560720 macos: create descriptors from URL Mitchell Hashimoto 2022-10-08 10:16:35 -07:00
  • 175ff0f777 macos: url from path Mitchell Hashimoto 2022-10-08 10:13:30 -07:00
  • a21dda2b08 font: lower interface requirement for face Mitchell Hashimoto 2022-10-08 10:07:35 -07:00
  • 0ff79a0623 font: coretext glyphIndex Mitchell Hashimoto 2022-10-08 10:04:17 -07:00
  • 723db8be2f font: coretext face presentation Mitchell Hashimoto 2022-10-08 09:55:22 -07:00
  • 90f3b9391c font: begin coretext Face Mitchell Hashimoto 2022-10-08 09:43:54 -07:00
  • 71ec509930 Make font face a compile time interface, stub for coretext Mitchell Hashimoto 2022-10-08 09:19:21 -07:00
  • 833fd0e49a pkg/macos: bounding rects for text Mitchell Hashimoto 2022-10-07 21:23:34 -07:00
  • 67bb68b39f pkg/macos: RGB color space Mitchell Hashimoto 2022-10-07 21:07:11 -07:00
  • c48ddcecd7 pkg/macos: font draw glyphs Mitchell Hashimoto 2022-10-07 21:04:30 -07:00
  • 61955c5d8d pkg/macos: CGContext Mitchell Hashimoto 2022-10-07 20:56:24 -07:00
  • ca7f3647ff pkg/macos: CGColorSpace Mitchell Hashimoto 2022-10-07 17:59:52 -07:00
  • fd509a2cb4 TODO for colored and styled underlines Mitchell Hashimoto 2022-10-06 16:07:48 -07:00
  • 8edf52f832 Add some padding to emoji Mitchell Hashimoto 2022-10-06 15:45:05 -07:00
  • a44d4ea33b Fix underline/strikeout position with larger fonts Mitchell Hashimoto 2022-10-06 15:40:43 -07:00
  • b18309187e Strikethrough (#19) Mitchell Hashimoto 2022-10-06 15:03:19 -07:00
  • dc0ccdb149 update TODO Mitchell Hashimoto 2022-10-06 15:01:33 -07:00
  • 1360431995 parse and render strikethroughs Mitchell Hashimoto 2022-10-06 14:57:51 -07:00
  • d84440dd86 font: calculate strikethrough metrics Mitchell Hashimoto 2022-10-06 14:50:50 -07:00
  • db9d2ca3bb pkg/freetype: getSfntTable Mitchell Hashimoto 2022-10-06 14:40:31 -07:00
  • 4909e0117c Merge pull request #18 from mitchellh/font-metrics Mitchell Hashimoto 2022-10-06 14:14:31 -07:00
  • 3a7e53e2e4 font: calculate correct offset for non-scalable emoji fonts Mitchell Hashimoto 2022-10-06 14:12:03 -07:00
  • 3b549e0709 more accurately compute font metrics Mitchell Hashimoto 2022-10-06 11:07:49 -07:00
  • 3d4aacd51d underline is derived from the primary font Mitchell Hashimoto 2022-10-04 11:08:07 -07:00
  • c149696f61 redoing some of the baseline calcs, remove from shader Mitchell Hashimoto 2022-10-04 10:00:32 -07:00
  • a4e8b5ae8c calculate font metrics per face Mitchell Hashimoto 2022-10-03 12:31:07 -07:00
  • 3d6ae99fe6 update TODO Mitchell Hashimoto 2022-10-02 11:27:40 -07:00
  • c565c561fd Use Apple Emoji font on Mac Mitchell Hashimoto 2022-10-02 11:20:55 -07:00
  • 939e6e7a65 pkg/harfbuzz: add coretext compilation on macOS Mitchell Hashimoto 2022-10-02 11:05:40 -07:00
  • f41cbf228b font: set "backend" enum vs booleans Mitchell Hashimoto 2022-10-02 09:41:37 -07:00
  • 12c9482d48 Mac Font Discovery with CoreText (#17) Mitchell Hashimoto 2022-10-01 22:21:30 -07:00
  • d25a7dcff4 font: fully implement CoreText DeferredFace Mitchell Hashimoto 2022-10-01 22:16:11 -07:00
  • 175ab19857 font: start discovering using CoreText Mitchell Hashimoto 2022-10-01 21:54:20 -07:00
  • 791739de9c pkg/macos: font initializes, get glyphs Mitchell Hashimoto 2022-10-01 21:49:02 -07:00
  • 0f34617eab pkg/macos: fix crash when no fonts are found Mitchell Hashimoto 2022-10-01 21:20:15 -07:00
  • 8292e925fc pkg/macos: fix invalid constant Mitchell Hashimoto 2022-10-01 21:03:51 -07:00
  • decbaafc6a pkg/macos: add mutable dictionaries, flesh out font descriptor Mitchell Hashimoto 2022-10-01 20:50:51 -07:00
  • 20f80c4fb7 Merge pull request #16 from mitchellh/macos Mitchell Hashimoto 2022-10-01 16:17:22 -07:00
  • c6dc2a3529 macos/text: create collection from descriptors Mitchell Hashimoto 2022-10-01 16:10:50 -07:00
  • 623e7f5916 macos/text: FontTraits Mitchell Hashimoto 2022-10-01 16:00:52 -07:00
  • 7eb466959a macos/foundation: number, dict get value Mitchell Hashimoto 2022-10-01 15:49:05 -07:00
  • 3eeef74315 pkg/macos: import headers instead of doing externs manually Mitchell Hashimoto 2022-10-01 15:24:22 -07:00
  • 57c1d8d329 macos/text: more APIs Mitchell Hashimoto 2022-10-01 11:25:21 -07:00
  • 88ae3be9ef pkg/macos: CFURL Mitchell Hashimoto 2022-10-01 11:13:44 -07:00
  • 49c9c21d52 macos: test listing fonts Mitchell Hashimoto 2022-10-01 11:06:07 -07:00
  • cb02bab89e macos/text: font descriptors Mitchell Hashimoto 2022-10-01 10:50:09 -07:00
  • 92d564a246 macos/foundation: more string funcs Mitchell Hashimoto 2022-10-01 10:32:54 -07:00
  • 2440b0ec67 pkg/macos: dictionary create Mitchell Hashimoto 2022-10-01 09:53:48 -07:00
  • d79c8fab39 macos/text: matching font descriptors Mitchell Hashimoto 2022-09-30 15:13:29 -07:00
  • 93f2a99b64 macos: CFArray Mitchell Hashimoto 2022-09-30 15:10:11 -07:00
  • f9e1127317 pkg/macos: add CoreText Mitchell Hashimoto 2022-09-30 14:48:06 -07:00
  • b0d9933249 macos: add another string API to test it really works Mitchell Hashimoto 2022-09-30 14:12:15 -07:00