Commit Graph

  • 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
  • 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
  • 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
  • ab4491a45d pkg/macos: start core foundation bindings Mitchell Hashimoto 2022-09-30 14:03:37 -07:00
  • a3d9dad726 fix tests so they pass on mac Mitchell Hashimoto 2022-09-30 13:24:54 -07:00
  • 68786814f8 -Dtest-exe flag to build and install test executables Mitchell Hashimoto 2022-09-30 13:05:23 -07:00
  • 42210e18da update TODO Mitchell Hashimoto 2022-09-29 15:07:32 -07:00
  • bf40e05a13 Font discovery on Linux via fontconfig Mitchell Hashimoto 2022-09-29 15:01:22 -07:00
  • 53aab0a163 --font-family CLI config Mitchell Hashimoto 2022-09-29 14:51:31 -07:00
  • 7eac0afff2 cli args can parse null-terminated strings Mitchell Hashimoto 2022-09-29 14:45:37 -07:00
  • 5567564dd0 cli args fix stage1 miscompilation, add font families Mitchell Hashimoto 2022-09-29 13:14:20 -07:00
  • 7f45916b89 only discover if it is enabled Mitchell Hashimoto 2022-09-29 11:58:00 -07:00
  • b6a4fff6d8 search for fonts on startup Mitchell Hashimoto 2022-09-29 11:57:29 -07:00
  • fdbf40d3ee pkg/freetype: disable ubsan Mitchell Hashimoto 2022-09-29 11:39:09 -07:00
  • 30a5041a38 font Group has Lib, loads deferred faces when needed Mitchell Hashimoto 2022-09-29 10:30:45 -07:00
  • f9b78ad2ba update flake Mitchell Hashimoto 2022-09-25 14:04:09 -07:00
  • b11ed06fc2 font: test loading deferred face for fontconfig Mitchell Hashimoto 2022-09-24 06:24:51 -07:00
  • 88a4cb65f3 src/font: working on initiaizing deferred fonts from fc Mitchell Hashimoto 2022-09-23 12:09:40 -07:00
  • bc9a0a36a8 store requested size alongside deferred font for loading Mitchell Hashimoto 2022-09-17 10:05:26 -07:00
  • 92251ed913 font group works with deferred faces exclusively Mitchell Hashimoto 2022-09-17 09:29:34 -07:00
  • ac26c20e94 font discovery builds up a set of deferred faces Mitchell Hashimoto 2022-09-17 09:21:23 -07:00
  • 1c1da63c7e deferred face hasCodepoint Mitchell Hashimoto 2022-09-16 15:29:13 -07:00
  • 141182aa13 start adding fontconfig conditional compilation Mitchell Hashimoto 2022-09-16 15:06:00 -07:00
  • 51d70fc74e reproduced issue for upgrade comment Mitchell Hashimoto 2022-09-23 13:37:20 -07:00
  • 53f5739eca use meta.FnPtr to prep for stage2 Mitchell Hashimoto 2022-09-23 13:20:43 -07:00
  • 3bd9ed5952 Fix invalid c types with fontconfig Mitchell Hashimoto 2022-09-23 13:14:08 -07:00
  • 1a2b684b0e RGB should not be packed, so that it has align = 1 Mitchell Hashimoto 2022-09-23 13:10:51 -07:00
  • a1d238e385 Fix a couple bugs in memory access (tests only) Mitchell Hashimoto 2022-09-23 12:51:50 -07:00
  • 72105fc6cd update to the latest stage2 compiler we can Mitchell Hashimoto 2022-09-23 12:08:06 -07:00
  • 57a82a26e7 pkg/fontconfig: const pointers Mitchell Hashimoto 2022-09-17 09:19:00 -07:00
  • 9750ac87fd pkg/fontconfig: pattern get Mitchell Hashimoto 2022-09-17 09:04:40 -07:00
  • 86f7d0e04e pkg/fontconfig: add some error handling Mitchell Hashimoto 2022-09-17 08:58:42 -07:00
  • 0d80225977 fontconfig: charset and langset apis Mitchell Hashimoto 2022-09-16 15:12:02 -07:00
  • d69f8397f3 pkg/fontconfig: add weights/slants enum Mitchell Hashimoto 2022-09-16 10:08:49 -07:00
  • 5b215409c6 pkg/fontconfig: pattern.add Mitchell Hashimoto 2022-09-16 09:55:45 -07:00
  • c68c487e14 Make selection part of the cache key for GPU cells Mitchell Hashimoto 2022-09-14 19:58:36 -07:00
  • 77851b30a2 Revert "update to latest Zig nightly" Mitchell Hashimoto 2022-09-14 19:39:10 -07:00
  • f3f2c3df26 update to latest Zig nightly Mitchell Hashimoto 2022-09-14 19:34:19 -07:00
  • f5319f1ca6 Merge pull request #14 from mitchellh/fontconfig Mitchell Hashimoto 2022-09-14 14:33:00 -07:00
  • e4ea27ec37 fontconfig: more APIs Mitchell Hashimoto 2022-09-14 14:30:18 -07:00
  • aca36ba79b fontconfig: fc-match Mitchell Hashimoto 2022-09-14 14:26:42 -07:00
  • 03ab1bedd4 fontconfig: fc-match Mitchell Hashimoto 2022-09-14 12:49:43 -07:00
  • eb2ce495b3 fontconfig: font list Mitchell Hashimoto 2022-09-14 10:14:09 -07:00
  • ce899dca11 fontconfig: font sets Mitchell Hashimoto 2022-09-14 10:05:09 -07:00
  • 382f569d65 fontconfig: object sets and patterns Mitchell Hashimoto 2022-09-14 09:54:48 -07:00
  • b4d571e018 pkg/fontconfig: disable ubsan (reported upstream) Mitchell Hashimoto 2022-09-14 09:23:02 -07:00
  • 4ca71eef7c don't build fontconfig on mac Mitchell Hashimoto 2022-09-13 14:46:33 -07:00
  • 59191b05cd build fontconfig Mitchell Hashimoto 2022-09-13 14:34:40 -07:00
  • d422d1ee78 pkg/fontconfig: starting, not working Mitchell Hashimoto 2022-09-13 13:53:20 -07:00
  • d5ee4f8b21 Cell GPU cache must also key by screen type (primary/alternate) Mitchell Hashimoto 2022-09-13 10:43:03 -07:00
  • 7bde20a43d a cell is empty only if it also has no styling Mitchell Hashimoto 2022-09-13 10:12:44 -07:00
  • b5f9e8abf0 fix potential crash Mitchell Hashimoto 2022-09-13 10:12:29 -07:00