Commit graph

126 commits

Author SHA1 Message Date
Jeremy Soller
e37a7c23a9
Add em dash sample 2022-10-26 09:26:21 -06:00
Jeremy Soller
cdc2868c10 Remove completed TODO 2022-10-25 22:10:15 -06:00
Jeremy Soller
353a25b750 Reduce size of editor test 2022-10-25 22:10:05 -06:00
Jeremy Soller
498cb7243d Set attribute family to monospace when monospace is toggled 2022-10-25 22:09:49 -06:00
Jeremy Soller
753c847aa9 Update readme 2022-10-25 21:42:24 -06:00
Jeremy Soller
d7f9eec6ef 0.1.2 2022-10-25 21:38:54 -06:00
Jeremy Soller
80e0a31188 Make font_matches accessible via function only 2022-10-25 21:38:47 -06:00
Jeremy Soller
808e75a54d Add Menlo as a fallback on macOS 2022-10-25 21:31:42 -06:00
Jeremy Soller
ea18576032 Make it possible to set and use default family 2022-10-25 21:16:02 -06:00
Jeremy Soller
d04337075a Make fontdb database public 2022-10-25 20:56:31 -06:00
grovesNL
dcb8add5f4 Re-export SwashContent 2022-10-25 20:52:10 -06:00
Jeremy Soller
e53956cb2d Fix scrolling with cursor 2022-10-25 20:49:15 -06:00
Jeremy Soller
c031944b45 Make hit detection public 2022-10-25 20:27:46 -06:00
grovesNL
e32cfedfcf Make font_matches public for now 2022-10-25 19:52:59 -06:00
Jeremy Soller
904ee71414 0.1.1 2022-10-25 19:40:26 -06:00
Jeremy Soller
f652dd1a99 Add function for getting swash image without caching 2022-10-25 19:40:17 -06:00
Jeremy Soller
22036a0f9e Font does not need to store index, it is part of info 2022-10-25 19:17:40 -06:00
Jeremy Soller
3e8e28f0b3
Do not require lifetime for swash fontref 2022-10-25 18:16:14 -06:00
Jeremy Soller
525c4efaa5
Add ability to set global buffer attributes 2022-10-25 16:29:33 -06:00
Jeremy Soller
59a4f8a4c1
Produce FontMatches inside of Buffer 2022-10-25 16:13:07 -06:00
Jeremy Soller
085231c153
Move font matching to Attrs 2022-10-25 15:51:28 -06:00
Jeremy Soller
324c8837fd
Cache fonts 2022-10-25 15:47:55 -06:00
Jeremy Soller
c60aaaf9d2
Ensure orbclient example reshapes 2022-10-25 15:33:48 -06:00
Jeremy Soller
1a5b01575d
Record font mapping time 2022-10-25 14:52:43 -06:00
Jeremy Soller
66885686a0
Move fontdb source handling to font 2022-10-25 14:49:44 -06:00
Jeremy Soller
a3ccbd0481
Add spdx identifiers 2022-10-25 14:42:26 -06:00
Jeremy Soller
84f4381cdf
Add text attributes 2022-10-25 14:14:23 -06:00
Jeremy Soller
bc04887b35
Update docstring again 2022-10-25 13:15:52 -06:00
Jeremy Soller
8f9d9de87f
Update TextLayoutRun::rtl doc 2022-10-25 13:14:38 -06:00
Jeremy Soller
0336e0c5e9
Use layout_runs for hit detection 2022-10-25 13:13:13 -06:00
Jeremy Soller
b6bd72335c
Add description for crate 2022-10-25 12:54:21 -06:00
Jeremy Soller
a9b7b4e914
Add layout run iterator 2022-10-25 12:52:46 -06:00
Jeremy Soller
5d7dd59078
Draw does not need mutable buffer 2022-10-25 11:40:57 -06:00
Jeremy Soller
330a736136
Add function to get layout runs 2022-10-25 11:40:10 -06:00
Jeremy Soller
5603e30a29
Document shape_until_cursor 2022-10-25 11:13:22 -06:00
Jeremy Soller
0f446368ca
Have TextBuffer own FontMatches 2022-10-25 11:10:44 -06:00
Jeremy Soller
1c341f3126
Make swash optional, add swash cache abstraction 2022-10-25 10:55:24 -06:00
Jeremy Soller
efc5108a2d
Do not use mono feature for editor test 2022-10-25 10:18:11 -06:00
Jeremy Soller
c5e9412673
Do delete test using EGCs 2022-10-25 10:17:09 -06:00
Jeremy Soller
cc68315a3f
Disable character delete test until it can handle EGCs 2022-10-25 10:15:24 -06:00
Jeremy Soller
42de42d59e
Do not store reference to font in shape or layout glyphs 2022-10-25 10:13:44 -06:00
Jeremy Soller
3c573df261
Do not set async by default 2022-10-25 09:31:51 -06:00
Jeremy Soller
a19182507b
Set orbclient async mode when edge scrolling 2022-10-25 09:30:16 -06:00
Jeremy Soller
d04147e1fc
Reduce framerate of orbclient example 2022-10-25 09:03:39 -06:00
Andrew Wheeler(Genusis)
079778cbf9 Moved the shape until cursor outside of the loop 2022-10-25 08:58:40 -06:00
Andrew Wheeler(Genusis)
16ebfcf6e6 Fixed the way drag selection scrolling works. made main buffer only run once and events do the rest 2022-10-25 08:58:40 -06:00
Andrew Wheeler(Genusis)
5200f67196 Clippy Fixes 2022-10-25 08:58:40 -06:00
Jeremy Soller
e39f8eabd5
Disable formatting for now 2022-10-25 08:12:04 -06:00
Jeremy Soller
2f3deabb98
Mark bidirectional selection complete in roadmap 2022-10-24 19:33:47 -06:00
Jeremy Soller
1bf532a2fc
Improved highlighting of selection 2022-10-24 19:11:28 -06:00