Héctor Ramón Jiménez
a07a619054
Add set_hinting method to Buffer
2025-12-01 13:59:55 -07:00
Héctor Ramón Jiménez
d779057d9c
Replace magic boolean with new Hinting enum
2025-12-01 13:59:55 -07:00
Héctor Ramón Jiménez
48eda6bd7d
Draft metrics hinting support
2025-12-01 13:59:55 -07:00
Erik McClure
3c1f6c9e8a
Add alignment parameter to set_text ( #419 )
...
* add alignment parameter to set_text
* Fix doc comment
2025-09-07 12:40:42 -06:00
Stewart Connor
e828131c92
fix for test.sh
2025-03-31 17:03:51 +11:00
Jeremy Soller
93a7df859a
Allow for undefined buffer width and/or height, fixes #70
2024-06-12 09:14:56 -06:00
Jeremy Soller
d0b4b4635e
Refactor of scroll and shaping
...
- Scroll is identified by line index and layout index, instead of just
layout index
- Shaping has the option to prune, where caches outside of the scroll
view are cleared
- Syntax editor no longer requires layout of all lines, only of lines
inside scroll
- BufferLine has a metadata field that can be used by other abstractions
to know when text was changed
2024-01-17 13:31:03 -07:00
tigregalis
27d61e5514
update terminal example using colored
2023-06-09 11:37:24 +08:00
Héctor Ramón Jiménez
0dce8b75d1
Fix examples
2023-04-21 20:35:59 +02:00
Edgar Geier
384c5c1fdc
Remove Mutex from FontSystem
2023-03-12 10:39:56 +01:00
Edgar Geier
46e9ef0246
Make BorrowedWithFontSystem borrow FontSystem mutably
2023-03-12 10:39:56 +01:00
Edgar Geier
057b5b6fa9
Extract borrow of FontSystem from Buffer
2023-03-12 10:39:54 +01:00
Jeremy Soller
bd27ca8ad8
Merge pull request #88 from geieredgar/clippy-fixes
...
Fix clippy warnings
2023-03-02 14:53:08 -07:00
Edgar Geier
6c501c6640
Fix clippy warnings
2023-03-01 22:58:41 +01:00
Edgar Geier
4e93853765
Remove lifetime from SwashCache
2023-03-01 22:41:59 +01:00
Héctor Ramón Jiménez
4320ae6329
Use f32 instead of i32 for lengths
...
This allows users to use logical coordinates instead of physical ones.
2023-02-28 03:39:31 +01:00
Jeremy Soller
8cc988d374
Run cargo fmt
2023-01-04 20:03:03 -07:00
Jeremy Soller
268805ba0c
no_std support
2022-11-08 13:24:14 -07:00
Jeremy Soller
7d26e332f0
Make cursor_moved private
2022-10-31 11:26:05 -06:00
Jeremy Soller
92cad6fe13
Decouple editing from buffer
2022-10-31 11:24:36 -06:00
Jeremy Soller
bbf8ea7431
Add terminal example
2022-10-27 11:15:08 -06:00